Skip to content

w64_graphics: gs_w64_a_bpermute, a geometry-stage ds_bpermute fixture (tier A) - #9800

Open
sskver wants to merge 3 commits into
ProjectLeonida:mainfrom
sskver:gs-w64-bpermute-fixture
Open

sskver wants to merge 3 commits into
ProjectLeonida:mainfrom
sskver:gs-w64-bpermute-fixture

Conversation

@sskver

@sskver sskver commented Nov 23, 2026

Copy link
Copy Markdown

Re-filed from #7338, which was closed in the repo move (same branch, same head afab304, nothing changed). Claim: #7231 (comment). Companion to the vertex-stage fixture (re-filed as #9798); independent of it, but both add one line to the same FIXTURES and EXPECT tables, so the second to land needs a trivial rebase.

Adds gs_w64_a_bpermute, a geometry-stage ds_bpermute_b32 fixture for SHADER-10 tier A. It is gs_w64_a_ring plus four lane ^ 1 reads. As in the vertex fixture, the expected words are derived from the lane layout measured by gs_w64_c_lane_id at the same size (RADV packs 42 triangles per wave; the AMD Windows driver on an RX 9060 XT packs 5 waves of 64 on a gfx1036), not assumed from p ^ 1.

Changes: the .asm, a FIXTURES entry, an EXPECT entry and a SAMPLE_DXBC entry, plus the same layout helpers and tests as the vertex PR. No translator change.

Results (no game files; counts and pass/fail only):

  • Ours: RADV gfx1036 and an RTX 5080: 30 of 30 ok, 16 pytest passed.
  • Reported on the old PR at this head: RX 5700 XT (gfx1010), RX 9060 XT (gfx1200), RTX 2060, RTX 5090, a gfx1036 iGPU on the AMD Windows driver. All pass.

AI-assisted (Claude Code).

@lordon1a

Copy link
Copy Markdown

checked: #9800afab304 | with: pytest tests/test_wave64_halves_fixtures.py + build.py + w64_graphics.py gs_w64_a_bpermute on Intel Iris Xe and RTX 3070 Ti | on: Windows 11 Home 26H2 (build 26200), CPython 3.11.9, MSYS2 clang64 LLVM 23.1.5 / SPIRV-Tools v2026.4, Intel Iris Xe (8086:46a6, driver 32.0.101.7088, subgroup 8..32) + RTX 3070 Ti Laptop (10de:24e0, driver 616.64, subgroup 32..32), no game files | result: pass

Details:

  • git merge-tree --write-tree origin/main pr-9800: clean (rc=0).
  • pytest tests/test_wave64_halves_fixtures.py: 16/16 passed in 4.59s.
  • build.py (5 shaders including gs_w64_a_bpermute + gs_w64_c_lane_id): 5/5 translated, 5/5 pass spirv-val.
  • Intel Iris Xe: gs_w64_a_bpermute A ok (rc=0).
  • RTX 3070 Ti: gs_w64_a_bpermute A ok (rc=0).

AI-assisted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants