1
0
mirror of synced 2024-11-14 19:17:39 +01:00
Switch-Toolbox/Switch_Toolbox_Library/Texture Decoding/Switch
SMG b161949a1f
Updated Tegra X1 swizzling and nutexb block heights (#419)
* avoid using LINQ for array slicing

* separate pitch and block linear swizzle functions

* use tegra_swizzle lib for swizzle/deswizzle for block linear

* clean up tegra swizzle and remove redundant allocation

* add an additional binary for 32 bit

* add check to force valid block heights

* fix sizes for 32 bit swizzle ffi

* simplify mipmap offsets, fix clamping blockHeightLog2

* prevent 0 values for width/height

* port updated nutexb block height function from Cross Mod

* update tegra_swizzle to include corrected block height functions
2021-11-25 18:15:17 -05:00
..
TegraX1Swizzle.cs Updated Tegra X1 swizzling and nutexb block heights (#419) 2021-11-25 18:15:17 -05:00