Repository navigation
Tests: verify high sampled-image slot reuse and its live neighbour - #1221
Conversation
A far-slot read alone cannot detect a stale descriptor after removal or a rewrite of the adjacent live view. Read the fallback, the replacement and its neighbour through the translated texture shader.
|
Tested
AI-assisted. No game files. |
|
Tested on Windows 11 with two GPUs on one machine (runtime built from this PR's head, MSVC 14.51): pass.
The other ps_tex* cases match |
|
Tested
No game files were used. |
|
Tested 4c80129 on AMD Radeon RX 9070 (RDNA4), AMD 26.11.2 (LLPC), Windows 11 Pro 26300, MSVC 14.44, with the sizes from #1199 on this card (65536 2D images, 4096 samplers): pass.
AI-assisted (Claude Code). |
Claimed in the coordination issue as: #1006 (comment)
What and why
The high-index draw added in #1199 checks an initial binding. Extend that test to keep two high-index sampled views live, free the gradient slot, sample its zero fallback, reuse it for a one-texel blue view, then sample the orange neighbour. Count readbacks as they happen because the capacity check can skip these draws.
Tested
--filter ps_tex.asmpassed (1 translated and 1 validated). No translator change.Checklist