Repository navigation
TEST-1108: Reject malformed VS and GS subgroup probe readbacks - #4929
kacper-serewis wants to merge 3 commits into
Conversation
|
At I ran At A full-size zero-filled heap is a small CPU regression input for this. AI-assisted, synthetic fixtures only. |
|
Tested 29c8154 on AMD Radeon 610M (RADV RAPHAEL_MENDOCINO, subgroup 32..64), CachyOS Linux: pass on the success path.
This only shows real RADV probes are still accepted. It does not exercise the rejection paths, and it does not cover the empty-record case raised above. AI-assisted. |
|
Verified merged with main 3faac55: the new failure-path suite passes 6/6 under python -I, and the closest existing tests (test_w64_graphics_reference, test_w64_graphics_args, test_wave64_halves_fixtures 9/9 under pytest) stay green. The _wave_size/_draw_heap signature change is applied consistently at all call sites; stdlib-only, no compliance findings. The change turns silent mis-verdicts on malformed probe readbacks into loud failures, which the mocked subTests demonstrate. Real-GPU behaviour of vk_harness itself was not exercised here; CI pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
|
Tested
The pass/skip/fail list is identical test by test, so well-formed VS and GS probe readbacks on these drivers aren't rejected. This doesn't cover the empty-heap case raised above. Tested and written by Claude (Claude Code), posting from @theswiss24's account. |
|
Independent GPU run of head 29c8154 on an AMD Radeon RX 9070 XT (RDNA4, subgroup 32..64), Windows 11 23H2, AMD's |
|
Tested
|
|
TEST-1108 CPU validation at Ran the normal Windows CLI against a synthetic All 6 probe tests, 3 CLI argument tests and 125 wave64-halves semantic tests passed. |
|
Tested 22419dd on AMD Radeon RX 9070 XT (RDNA4, RADV GFX1201, subgroup 32..64), Mesa 26.2.6, Vulkan 1.4.354, Arch Linux: pass. The earlier GPU checks were on
Success path only; I did not repeat the malformed-heap cases that were already covered with synthetic harnesses above. No game files used. AI-assisted (Claude). |
|
Tested As far as I can see in this thread, this is the first hardware run of that path and the first on GFX1013. On a device fixed at 32 lanes, the tier C fixtures are compared against a real 64-lane reference instead of being skipped. Device 1, reference (both sizes forced): AMD BC-250 (RADV GFX1013), subgroup 32..64, Mesa 26.2.6, Vulkan 1.4.354, Bazzite 45 (Fedora 45, kernel 7.3.3), Python 3.15.2
Device 2, compared against that reference: NVIDIA GeForce RTX 5080 (Blackwell), subgroup 32..32, driver 621.14, Vulkan 1.4.357, Windows 11 (build 26200), Python 3.13.14
Both devices ran the same test shaders, one I only ran the success path. The malformed-heap cases are already covered above. No game files were used. AI-assisted (Claude). Per-fixture linesBC-250, RTX 5080, default: RTX 5080, |
TEST-1108. Coordination claim
Depends on: #4890
Reject malformed vertex and geometry subgroup probe readbacks before interpreting lane IDs. A missing or incorrectly sized heap or a lane ID above 63 fails the affected fixture and lets subsequent fixtures run. A silent exit 77 retains the unsupported fallback. Clearing the previous heap before the draw prevents a successful process without output from reusing stale data.
On native Windows with Python 3.13.15, 10 graphics runner tests and 101 semantic tests passed. The CLI with a synthetic harness reported a vertex failure, fragment skip and geometry pass in one run, then exited 1. The geometry-only control exited 0. Partial groups with 42 and 16 live lanes passed. A trial merge with #2998 was clean. AI-assisted. These synthetic runner checks used CPU only.
Independent native Windows GPU validation on NVIDIA GeForce RTX 5070, driver 616.56, compared this head with #4890 at
94709531. Each revision passed five fixtures and skipped four tier C cross-size comparisons. The device reported fixed subgroup size 32. The default, 32-requested and 64-requested probe draws returned lane IDs 0–29 across 960 vertex records and 0–9 across 320 geometry records. None supplied a wave64 reference. All 11 synthetic shader modules passedspirv-val.