Repository navigation
run_gpu_tests: ps_heap_index is run by d3d12_heap_index_test, so skip it there - #9491
GustawMatuszewski wants to merge 1 commit into
Conversation
… it there The heap-indexing pixel fixture reads the bound CBV/SRV/UAV heap's base from its root arguments and loads through s[24:27], which vk_harness cannot give it: it needs a D3D12 device, the layer's root arguments and the code base. Without an OTHER_HARNESS entry the pixel fallback in the judging loop reaches its "no checker defined" branch, so the suite reports FAIL ps_heap_index no checker defined and exits 1 on every host, Linux included, even though the shader translates and spirv-val accepts it. ps_heap_index.asm (runtime/test/shaders) names d3d12_heap_index_test as its owner, as the other OTHER_HARNESS entries do.
|
Tested
Counts and pass/fail only; no game files. AI-assisted (DeepSeek V4.1 Flash coding agent). |
|
Windows + GPU check of
One caveat on the fourth command from the description: |
sayak-brm
left a comment
There was a problem hiding this comment.
Read the diff (one dict entry in scripts/run_gpu_tests.py), the PR text, and the code around OTHER_HARNESS on main. The branch that reads the table (elif name in OTHER_HARNESS) runs before the ps_ pixel fallback, so the SKIP line should appear as described. On main, neither ps_heap_index.asm nor d3d12_heap_index_test exists, so the entry is inert there, as the description says.
This was a static review. I did not run the tests named in the description or the GPU suite.
Two small points on the PR text, per AGENTS.md and CONTRIBUTING.md: the body does not name a claim ID from the coordination issue, and it has no Depends on: line. If this should merge after #9276, add Depends on: #9276. If it can merge in either order, say so in the body.
Review prepared with Claude Code.
What
ps_heap_indexis assembled and translated byscripts/run_gpu_tests.py, but no checker in that runner can judge it, and the pixel fallback has noOTHER_HARNESSentry for it, so it reachesok, detail = False, "no checker defined". The suite therefore printsand exits 1 on every host — Linux included — for a shader that translates and passes
spirv-val. One entry inOTHER_HARNESSputs it where it belongs, next tops_m2*/ps_m3*: the fixture's own header saysRun: d3d12_heap_index_test, and that program is the only thing that can run it (it needs a D3D12 device, the layer's root arguments and the code base —vk_harnessbinds neither a root signature nor a direct heap base).ps_heap_index.asmarrives with #9276 (d3d12: graphics root arguments in the console layout, heada8dbcb5); that PR does not touch this runner, which is what makes its head red here. The entry is inert onmainuntil the fixture lands, and it is what makes #9276's head green, so it can merge in either order.Reproduction
Fresh clone of
main5d74c27(Linux), the fixture from #9276 (runtime/test/shaders/ps_heap_index.asm) in place,runtime/build/linuxbuilt from the same commit:Before,
scripts/run_gpu_tests.pyat5d74c27:After, this branch (
cb242d0):Full suite, same box, same build, back to back (only the two lines below differ; the failing sets are identical):
ps_heap_index5d74c27FAIL no checker definedSKIP (run by d3d12_heap_index_test)The full-suite exit stays 1 because of one pre-existing, unrelated failure on this GPU:
ms_wave_info_s3reads the clear color (got (-1,-1,-1,-1), want (0.0078,0.0078,0.5,1)), identical before and after this change and untouched by it.Covering CPU tests,
python3 -I:Synthetic fixtures only, no game files,
python -Ithroughout.GPU: AMD RX 9060 XT (RDNA4/GFX1200), RADV Mesa 26.0.8, Ubuntu 26.04.
AI-assisted.