Repository navigation
check.py: judge ps_w64x_readlane where vk_harness required 64 (its line has no "required") - #2085
Conversation
|
Tested A live |
|
Tested 4b1448e (merged on current main 4eb6155) on RTX 3090, driver 616.56, Windows 11 23H2, subgroup 32..32: pass. This is the 32-wide counterpart to the RDNA4 run: AI-assisted test run. |
|
Tested 4b1448e on two devices that cannot require a 64-wide fragment subgroup, the case the PR lists as not tested: pass (still skips, as it should). AI-assisted (Claude Code). Hardware: AMD Ryzen 5 7600X, Windows 11 Home 26300. NVIDIA GeForce RTX 5060 Ti, driver 610.88 (subgroup 32..32); AMD Radeon(TM) Graphics iGPU (RDNA2, subgroup 32..64), AMD driver 24.10.24 (Vulkan driver 2.0.302), whose
The Radeon row is the interesting one: the subgroup range is 32..64, but the driver can't require a size for the fragment stage, and the new regex still skips it instead of judging a 32-wide frame. #2048 also edits
|
|
GPU check on an AMD Radeon RX 9070 (RDNA4, gfx1201, 32..64 subgroups, so native wave64 too), Windows 11, Vulkan SDK 1.4.363. Tested head 4b1448e merged onto
AI-assisted (Claude Code); runs on my machine. |
|
Tested Runtime and test programs built from this head (MSVC 14.51, Ninja, RelWithDebInfo), native Windows
The remaining 12 skips are the fixtures the d3d12 tests run ( AI-assisted (Claude Code); I checked the results. |
|
Thanks all for the runs, the 32-wide and COMPUTE-only cases are exactly what I couldn't test. @Dom-in, a small question on the RX 9070 run: the text says
Same with AI-assisted (Claude Code). |
|
Tested 4b1448e on RDNA3 with a real draw: AMD Radeon RX 7600 (Navi 33, subgroup 32..64), AMD 26.11.2 (LLPC), Windows 11 10.0.26300,
Run with an AI assistant (Claude). |
Claimed in the coordination issue as: new TEST item, #1902 (comment)
What and why
ps_w64x_readlaneis skipped on every device, including the ones that can require a 64-wide fragment subgroup, so the wave64 pixel fixture is judged nowhere.wide_pixel_skipinruntime/test/shaders/check.py(added in a9bab0c) looks for the linefragment subgroup size: 64 required.runtime/test/vk_harness.cppprintsfragment subgroup size: 64when the size took effect, andfragment subgroup size: 64 not availablewhen the device cannot require it. It never prints "required".w64_graphics.pyalready matches the harness's form.tests/test_shader_checks.pyfedwide_pixel_skipa made-up... requiredline, so the unit test passed while the real output never matched.This change:
check.py: match the line the harness prints (^fragment subgroup size: 64$). The "not available" line and a missing line still skip. The comment aboveWIDE_PIXEL_TESTSsays which line is meant.tests/test_shader_checks.py: the judged case uses the harness's real line; a new case checks that "64 not available" skips;test_wide_pixel_skip_reads_the_line_vk_harness_printsreads the two format strings fromvk_harness.cppand runswide_pixel_skipon them, so the check and the harness cannot drift apart again.vk_harness.cpp,run_gpu_tests.py(it importswide_pixel_skip) andw64_graphics.pyare untouched.Tested
Base 4eb6155. AMD Radeon RX 9060 XT (RDNA4), AMD driver 26.10.44 (Vulkan driver 2.0.395), Windows 11 Pro 10.0.26300, subgroup 32..64 with FRAGMENT in
requiredSubgroupSizeStages. MSVC 14.44 (VS 2022), Vulkan SDK 1.4.363.0, llvm-mc 21.1.8 (scripts\build_llvm_mc.ps1), Python 3.12.10. Test programs rebuilt at 4eb6155.run_gpu_tests.py --filter ps_w64xSKIP (this device cannot require a 64-wide fragment subgroup: subgroup 32..64)PASS ps_w64x_readlane 4096/4096 pixels exactrun_gpu_tests.py, whole suitecheck.pyrun_gpu_tests.pybuilds);ps_w64x_readlane okvk_harnesswithVKH_SUBGROUP_SIZE=64printsfragment subgroup size: 64, 4096 of 4096 pixels equal the expected words, andwide_pixel_skipstill returned the skip on that output.python -I tests/test_shader_checks.py: 62 tests OK. With thecheck.pychange taken out, the judged case and the new format-string test fail (2 failures), so they catch the mismatch.python -I -m unittest discover -s tests/semantic: 1671 tests OK.python -m compileall -q make_game.py tools tests: clean.Not tested: a 32-wide device (NVIDIA, Intel). There the harness prints the "not available" line or none, which the unit tests cover; I have no such GPU.
No game files.
AI-assisted (Claude Code): the change was written and run with it on my machine.
Checklist
docs/design.md, with how it was confirmed. (Not applicable: no translator change.)