mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 13:09:57 -04:00
On AMD's driver for Polaris (RX 580, 23.10) a store between a pool texture's access chain and its sample left the quad's helper lanes out of the code in between: derivatives at a triangle's edge were garbage and edge pixels came out dark, the dotted lines along the paths' triangles since 0.7.0 (frame dump f1714: the colour pass covers every pixel, the depth test is not what drops them). Each access now notes its slot in a Private variable; before each return of the entry function and before a kill, terminate or demote every noted slot is marked, an unset one going to a spare slot past the pool. Accesses in loops or outside the entry function note theirs in a ring of 8, marked in a loop at the way out. Checked with spirv-val on the 45 marked shaders of the dump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
439 KiB
439 KiB