1
0
mirror of synced 2024-12-05 04:17:59 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
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
KillzXGaming
b673b3ee60 Revert "Revert "Revert "Quick fix for switch textures with strange resolutions."""
This reverts commit 2866344409.
2020-07-20 19:52:11 -04:00
KillzXGaming
2866344409 Revert "Revert "Quick fix for switch textures with strange resolutions.""
This reverts commit d7e8d9d50c.
2020-07-20 19:50:33 -04:00
KillzXGaming
d7e8d9d50c Revert "Quick fix for switch textures with strange resolutions."
This reverts commit cfbf39fff6.
2020-07-20 19:50:11 -04:00
KillzXGaming
cfbf39fff6 Quick fix for switch textures with strange resolutions. 2020-07-15 19:01:56 -04:00
KillzXGaming
1e3f2eebb6 Fixup mipsizes in nutexb 2020-07-10 21:29:29 -04:00
KillzXGaming
f7d674fe18 Start to impliment backend for depth/3D textures 2020-01-14 19:19:02 -05:00
KillzXGaming
435fda17f1 Add support for custom block height log for WTB textures 2019-09-13 19:42:16 -04:00
KillzXGaming
bb7d9d88b1 A few fixes and additions.
Adjust drag and drop support a bit from archives so it doesn't have any issues.
Added BRLYT viewing (very basic)
Fix U8 not adding all the directories. Hopefully any U8 will work correctly now
2019-08-31 17:24:05 -04:00
KillzXGaming
6cfb6a214f Adjust the toolbox name to no longer include "Switch" in it. 2019-07-16 17:35:21 -04:00
KillzXGaming
43081a4086 Texture decoder cleanup. Also fix wii u texture patterns with null issues 2019-07-16 16:54:46 -04:00