#wii #tiling #texture #memory #surface #source

wiiu_swizzle

Wii U texture memory tiling

2 unstable releases

new 0.2.0 May 17, 2024
0.1.0 Apr 27, 2024

#5 in #wii

Download history 272/week @ 2024-04-26 10/week @ 2024-05-03

282 downloads per month
Used in 3 crates (via xc3_lib)

MIT license

450KB
833 lines

wiiu_swizzle

Latest Version docs.rs

A safe and efficient pure Rust implementation of texture memory tiling for the Wii U. This library is still experimental and missing important features.

Credits

Much of this project is translated from open source C++ code from the Mesa driver adapted by decaf-emu/addrlib (license) with Wii U specific constants taken from Cemu (license). Cemu is also used to generate data for test cases by extracting "deswizzled" surface data from RenderDoc. See the source code for details.


lib.rs:

wiiu_swizzle

wiiu_swizzle is a CPU implementation of memory tiling for texture surfaces for the Wii U GPU hardware.

Dependencies