Repository navigation
Conversation
|
AI-assisted review/test. PASS on commit eab1eba.
|
|
Tested On a Ryzen 5 7600X iGPU (RDNA2, RADV, Mesa 26.3.1, subgroup 32..64),
So on main, a size that isn't a power of two does reach Vulkan on RADV as Also: AI-assisted (Claude Code). |
|
Tested
AI-assisted: yes (Claude ran the build and tests; results checked by me). |
|
Tested eab1eba on NVIDIA GeForce RTX 5070 Ti, driver 617.42, Windows 11 build 26300, VS 2022 Build Tools (MSVC 19.44), Windows SDK 10.0.26100, Vulkan SDK 1.4.363.0, RelWithDebInfo: pass. Built Synthetic tests only, no game files. AI-assisted (Claude Code). |
gut0to
left a comment
There was a problem hiding this comment.
The parser rejects malformed, signed, whitespace-padded, hexadecimal, overflowed, and non-power-of-two subgroup values before Vulkan initialization; zero remains the device-selected default, and --require-wave64 keeps its fixed 64 behavior. Built �k_compute_test with MSVC and ran the added CTest on this PR head: 1/1 passed.
|
Tested |
Claim in coordination issue #7694. Claim comment
vk_compute_testusedatoiforVKC_SUBGROUP_SIZE, so32junksilently requested 32 lanes and a non-power-of-two size could reach Vulkan if it fell within the device's reported range. Parse the entire decimal token before opening the shader or initializing Vulkan, and return exit 2 for invalid values. Zero still selects the device default and--require-wave64still takes precedence.AI-assisted (Codex). Tested on Windows 11 with MSVC 19.51, CMake 4.4.3, Ninja 1.13.2, LLVM 21.1.8, Vulkan SDK 1.4.363.0, and an NVIDIA GeForce RTX 5090 on driver 621.24.
origin/mainatdde82f27e. The new CTest got exit 1 from device selection for32junk. Using a valid synthetic shader on the RTX 5090, upstream accepted the same value as 32 and exited 0.32junkexited 2. Both nearby pipeline-check CTests also passed.run_gpu_tests.py --filter cs_ --require-pass. All 113 translated modules passedspirv-val. The full rerun had 77 passes, 34 skips, and zero failures.cs_dpp_bankfailed on the first run, then passed in isolation and in the full rerun.check_no_game_data.pypassed on all three changed files. Tests used synthetic inputs.