Repository navigation
Conversation
…t a repacking (measured, gfx1036 and GFX1201) The docstring said RADV's 32-lane VS run repacks the vertices, so it was "a stricter test of tiers A and B". @sskver measured otherwise on gfx1036 (Mesa 26.3.1), and the same vs_w64_c_lane_id probe on an RX 9070 XT (GFX1201, RDNA4, Mesa 26.2.6) gives the same packing: wave64 waves of 64, 62, 64, 62 ... from vertices 0, 64, 126, 190; wave32 waves of 32, 32, 32, 30 ... from 0, 32, 64, 96, 126; every wave32 wave inside one half of a wave64 wave. The docstring now says so, with the GPUs it quotes, and warns that a 62-vertex wave puts `^ 2`, `^ 3` and `^ 16` lane reads across a wave boundary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested 11ce092 merged onto
AI-assisted (Claude Code). |
|
Same measurement on a discrete RDNA2 card: the packing matches yours and @sskver's, so the new docstring holds on a third GPU. AMD Radeon RX 6700 XT (gfx1031, RDNA2), RADV Mesa 26.3.1, CachyOS, Linux 7.3.5, Python 3.14.
Word 2 equals the vertex index for all 960 records in both runs. Every wave32 wave lies inside one wave64 wave and inside one 32-lane half of it, with a period of 126 vertices both ways. My wave counts (16 / 31) are one lower than your table's (17 / 32), probably because we split the 960-vertex tail differently; the sizes and starts match. The full AI-assisted (Claude Code). |
|
Tested 11ce092 on AMD Radeon RX 9060 XT (RDNA4, gfx1200), RADV Mesa 26.0.8, Ubuntu 26.04: pass. This is a second RDNA4 SKU on an older RADV than the RX 9070 XT / Mesa 26.2.6 point, and it reproduces the measured packing exactly.
Word 2 equals the vertex index for all 960 records in both runs. Every wave32 wave lies inside one half of a wave64 wave (32/32), and each wave64 wave is exactly partitioned by its wave32 waves (17/17); the period is 126 vertices both ways, the same as the gfx1036 and GFX1201 numbers in the PR.
AI-assisted (Claude Code). |
|
Tested 11ce092 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: pass
AI-assisted (OpenCode). |
|
Windows data for the RDNA2 iGPU. It covers only the wave64 side; I could not measure wave32 on this driver. Setup: Ryzen 7 7800X3D Radeon iGPU (gfx1036), AMD driver 25.10.36, Windows 11, PR head
Synthetic tests only. AI-assisted (Claude Code). |
|
Tested 11ce092 (merged onto main 976b3ec) on NVIDIA GeForce RTX 2060 (Turing), NVIDIA 621.24, Vulkan 1.4.357, Windows 11 (10.0.26300), subgroup size 32: pass (no regression; the case this PR changes is not reachable here) What I ran:
With this PR: unchanged (17 ok, 12 SKIP). The wave32 VS run this PR redefines only exists where the VS wave size can be switched (RADV with Overlap, for whoever merges: #7505 has the same title and touches The one failure on both sides is AI-assisted run (Claude Code); the numbers are from my machine. |
|
Tested 11ce092 on RX 5700 XT (RDNA1, gfx1010, RADV NAVI10), Mesa 26.3.1, Linux 6.18: pass
LLVM AI-assisted (Claude Code). |
Claim: #7231 comment. It's the GFX12 measurement @sskver asked for in their finding, plus the docstring fix that follows from it.
What and why
runtime/test/shaders/w64_graphics.pysays RADV's 32-lane VS run "is a repacking, not the two halves of the 64-lane waves: a stricter test of tiers A and B". @sskver measured the halves on gfx1036 and asked whether GFX12 differs. It doesn't.vs_w64_c_lane_idover 960 vertices on an RX 9070 XT (GFX1201, RDNA4), RADV, Mesa 26.2.6, Linux, with and withoutRADV_PERFTEST=gewave32:Every wave32 wave lies inside one wave64 wave, and inside one half of it (lanes 0–31 or 32–63). The period is 126 vertices both ways, the same as @sskver's gfx1036 numbers. A wave is a run of vertices with distinct lane ids, split where a lane id repeats; record word 2 checks that each vertex index matches.
The docstring now states the packing and the two GPUs it was measured on. It says the 32-lane run tests tiers A and B the same way the pixel fixtures' halves do, not more strictly. It also carries @sskver's trap for the next fixture: a 62-vertex wave doesn't start on a multiple of 64, so
lane ^ 1stays inside the wave, but^ 2,^ 3and^ 16can cross it.Tested
runtime/test/shaders/build.py(vs_ids,vs_w64_c_lane_id,ps_w64_a_skip): 3 translated, 3 passspirv-val.Native Linux
vk_harness(cmake -S runtime -B runtime/build/linux -G Ninja), run as the fixture's header describes, both ways. Results above.w64_graphics.py ... vs_w64_c_lane_id:C ok.tests/test_wave64_halves_fixtures.py10 passed,tests/test_docs_repeated_lines.py2 passed,compileallclean.Docstring only: no behaviour changes. Not run on RDNA3.
No game data in this PR.
AI-assisted (Claude Code).
🤖 Generated with Claude Code