mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-18 20:15:56 +00:00
- BFE / BFI (patch 0012): a field past bit 31 is cut there, one that starts past it extracts 0 (signed: bit 31 repeated) and inserts nothing, as PTX bfe / bfi. Clamped only where the field is not a constant inside the word. 1.4.3's Depths terrain vertex shaders (42 variants, 134 extracts) compute the position as ((2y + x) * 8) & 0xff, up to 248; AMD's bitfield instructions take it modulo 32. UltraTears saw the Depths walls and ground missing on RADV (Steam Deck, RX 570). - SHF by 0 (patch 0013) gives the unshifted word instead of shifting the other one by 32. Every register SHF of 1.4.3 pairs its word with 0, so 1.4.3 results do not change. - Function-local variables start at 0 (patch 0014): a register read on a path that never wrote it is no longer an undefined value Mesa may fold. All 12,454 1.4.3 shaders translate and pass spirv-val. RX 9070, Depths save: the same picture before and after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>