Repository navigation
Conversation
|
Tested 58e0e40 on NVIDIA GeForce RTX 3090 (Ampere, subgroup 32..32), driver 610.88 (Vulkan 1.4.341), Windows 11 Pro 26300: pass, and no change on NVIDIA, where all fragment lanes are live. The PR's diff applied cleanly to
|
|
Independent Windows 11 (26200) test of |
|
Tested 58e0e40 (with #2997 also merged) onto main 1628210 on AMD Radeon RX 6600 (RDNA2, Navi 23, subgroup 32..64), AMD proprietary 26.11.2 (Vulkan 1.4.315), Windows 11 Pro 10.0.26300: pass. This adds the AMD side next to the NVIDIA and Intel rows.
AI-assisted (Claude Code): it merged the PRs, built them, ran the probe and the fixtures, and wrote this comment. |
|
Tested 58e0e40 on Steam Deck LCD (Jupiter), AMD Custom GPU 0405 "Van Gogh", RADV Mesa 26.2.0-devel (git-5c65d4fc31), Vulkan 1.4.350, SteamOS 3.9.5 (holo), kernel 7.2.7-valve2-2-neptune-72-g31504582a073: no unintended skips/regressions observed on this RADV Deck; w64_graphics GPU run inconclusive due to pre-existing 64-lane PS/GS harness crashes. Unit tests:
w64_graphics (built 27 fixtures including
AI-assisted (OpenCode). |
|
Tested @kapitche I've opened kapitche#1 against your branch ( AI-assisted (Claude Code). |
|
Defect at 58e0e40: To reproduce (Windows 11, NVIDIA RTX 5060 Ti, driver 610.88; test programs built at 58e0e40 with The whole suite gives the same FAIL with and without Cause: AI-assisted (Claude Code). AMD Ryzen 5 7600X, Windows 11 Home 26300, Vulkan SDK 1.4.363.0, llvm-mc 21.1.8, Python 3.12.10. No game files. |
Kam471
left a comment
There was a problem hiding this comment.
Verified on the PR head: tests/test_wave64_halves_fixtures.py -> 8 passed, 1 skipped (no llvm-mc here). The skip uses live_width() from the probe's max mrt0 word (an EXEC ballot), not gl_SubgroupSize; an unknown probe is judged, never skipped, and full-width devices still run their lanes. python -I -m pytest tests -q --ignore=tests/semantic -> 4,664 passed, 660 skipped, 6,494 subtests, 1 failed; the one failure is the pre-existing test_report_paths.py::MacVolumeTests also present on the other tree. No game data or absolute paths. Approve.
Nits: the skip path is exercised only by a monkeypatched test and no fixture is gated yet (NEEDS_LIVE_LANES = {} is intentional in the body); ps_live_width.spv is built but not in FIXTURES.
… fragment width (ps_live_width), not the reported subgroup size
58e0e40 to
d76b715
Compare
|
Rebased onto main 03b09a0; w64_graphics.py conflicted with #2260's TEST-433 |
|
Tested d76b715 on Windows 11 (llvm-mc, spirv-tools; no Vulkan validation layer installed), one GPU at a time, device line confirmed: AI-assisted. |
|
Tested
AI-assisted (Claude Code). |
… test with no checker
|
Thanks, that is a defect of this PR, not of RADV: Pushed a one-line fix on top (new commit, Tested on Windows 11, Python 3.13.1, only |
|
Re-tested
AI-assisted (Claude Code). |
|
Tested The fragment AI-assisted verification with synthetic inputs. |
|
Tested df03a8a (a re-test at the new head) on AMD Radeon RX 9070 XT (RADV GFX1201, wave32/64) and the Ryzen 7 9800X3D iGPU (RADV RAPHAEL_MENDOCINO, gfx1036), Mesa 26.2.6, Linux 7.3.4: pass, no regressions.
No game files. AI-assisted. |
|
Tested df03a8a on NVIDIA RTX 4080, driver 610.88, Windows 11: pass, but not for the PR's own fixture (see last point) Ran (MSVC 19.44 / VS 2022 BuildTools, Ninja, RelWithDebInfo, Vulkan SDK 1.4.363.0, native
A note for other testers: on a first attempt I paired this head's translator with test programs built from the newer AI-assisted. |
Claimed in the coordination issue as: #2891 (comment)
What and why
Some wave64 pixel fixtures read lanes that a fragment subgroup does not always have. The Intel UHD 770 (driver 32.0.101.6129, subgroup 8..32) reports
gl_SubgroupSize32 but only 16 invocations are live per fragment subgroup (ballot count 16, lane ids 0..15); a read of laneL ^ 16returns garbage, which is what #2260's three permute fixtures hit. Neither "the size could not be required" nor the reported 8..32 range says that, and each skip written on that basis (#1585'sps_vcmpx_formsskip, #2260's TEST-433 skip) is both too broad and too indirect.This adds a measurement and a hook, and changes no existing verdict:
runtime/test/shaders/ps_live_width.asm: a probe pixel shader that writespopcount(exec_lo)(the translator makes EXEC the subgroup ballot of live invocations) to mrt0.w64_graphics.py:live_width()runs it throughvk_harnesswithvs_idsand returns the largest word of the frame;NEEDS_LIVE_LANES = {fixture: lanes};check()skips a listed fixture with a message naming the measured width when no size was required (64 or 32 applied) and the width is smaller, and judges it otherwise (also when the probe cannot run).ps_w64_a_skip,_a_one_lane,ps_w64_b_waterfall,_b_readfirstlane,_b_readlane_uniform,_b_ballot_atomic), so none of them should be skipped there.{"ps_w64_a_permlane": 32, "ps_w64_a_swizzle": 32, "ps_w64_a_bpermute": 32}and drop their_device_minskip. I did not touch that PR.ps_vcmpx_formsdoes not need 32 live lanes. Its words are per-lane compares of uniform inputs, and its real cause on the Intel was the missingSignedZeroInfNanPreserve(#664); with that merged it passes 4096/4096 there at 16 live lanes. So it stays out of the list, and the width-based skip incheck.py(vcmpx_forms_narrow_skip) is what #1718 removes.Tested
Windows 11, RelWithDebInfo,
w64_graphics.py, build dir frombuild.py:_a_bpermute,_a_permlane,_a_swizzle"A ok"_a_skip,_a_one_lane,_b_*pass (same as before)_a_skipstill okWithout the listing (and before this change) the three permute fixtures fail on the Intel with the got words
(1, 64, 4456512, 5242964)etc. from the finding on #2891.python -I -m pytest tests/test_wave64_halves_fixtures.py(Python 3.12.16, Linux): 8 passed, 1 skipped. The new test fakes the draw and the probe: with width 16 the listed fixture skips and names the width, with 32 or an unavailable probe it is judged. Negative control: on main the test fails (noNEEDS_LIVE_LANES).AI-assisted.