[pr-tests][shaders] Cover EXACT64 ordered-LDS readback on native Wave32 #179
Loading…
Reference in a new issue
No description provided.
Delete branch "UncommonDLL/Darner:tests/exact64-ordered-lds-wave32"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What it changes
Adds one opt-in synthetic regression test in
wave64_tests.rs. The test verifies that productionemitselects thewith_exact_ldsfold, then checks every guest lane’s tagged LDS readback after reconvergence.How it was tested
Tested on
57dea7f2367c4e902b8ef507f90536564b670b04with an NVIDIA GeForce RTX 5070 Ti, driver621.40, and reported native wave range(32,32).The test process used
DARNER_EXACT64=34992f2b65a789a5,DARNER_WAVE_WIDE_FALLBACK_SKIP=34992f2b65a789a5, andDARNER_REQUIRE_HW_GPU=1, withDARNER_WARPunset.Native Cargo exit
0. One selected test passed. Both synthetic dispatches matched all 64 tagged lane values.[0,33)[32,64)Coverage is limited to these two synthetic masks on the recorded native Wave32 adapter and driver.
Checklist
main.docs/asset-policy.md.Checked for overlap
wave64_tests.rs.#123 covers retry-ladder routing and #76 changes translator defaults. #43 covers paired lanes and #33 covers light clustering. Those two PRs and #44, #47, #48, and #49 touch
wave64_tests.rsand add a dumped-container diagnostic. The pinned tree and checked PRs leave the production EXACT64 readback cases above uncovered.I ran the unmodified test at
b71083486dtwice on an RTX 4070 Ti SUPER, NVIDIA 617.14, Windows 11 build 28000. The adapter reported Wave32 (32/32), and the translator selectedwith_exact_lds. In both processes the masks [0,33) and [32,64) gave counters 33 and 32. All 64 lane values matched in each dispatch.In a local copy I changed only the case table and its printed case count. Eight additional masks passed twice on the same GPU. In particular, [0,0) returned 0, [31,33) returned 2 across the half-wave boundary, [63,64) returned 1 and [0,64) returned 64. The remaining cases were [0,1), [31,32), [32,33) and [0,32).
For a negative control I changed the synthetic shader’s atomic increment from 1 to 0 and kept the expected values. The hardware test failed on lane 0 of [0,33), expected
0xd26700a1, read0xd2670080. These results cover shader correctness on this adapter. No gameplay or FPS measurement.I used the exact test filter and the three environment values in the PR description, with WARP unset and Microsoft’s signed x64 DXIL validator from DXC v1.8.2505.1.