Skip to content

docs: SHADER-10 tier A permutes are GPU-checked by TEST-433's fixtures - #4238

Open
bielfreedom wants to merge 1 commit into
ItsNotRexed:mainfrom
bielfreedom:docs/w64-tier-a-fixtures
Open

bielfreedom wants to merge 1 commit into
ItsNotRexed:mainfrom
bielfreedom:docs/w64-tier-a-fixtures

Conversation

@bielfreedom

Copy link
Copy Markdown

Claimed in the coordination issue as a new docs item: finding + claim.

What and why

docs/design.md, row "Wave64 graphics: partition invariance (SHADER-10)", tier A list, still said ds_bpermute/v_permlane16 stay inside a half but are "not GPU-tested here: no fixture; ds_swizzle and v_permlanex16 likewise". That's out of date. TEST-433 added ps_w64_a_bpermute, ps_w64_a_permlane (which uses both v_permlane16 and v_permlanex16) and ps_w64_a_swizzle, and runtime/test/shaders/w64_graphics.py checks them at required 64 and 32 lanes.

The sentence now names those fixtures instead. One line, docs only. The rule itself is unchanged.

Tested

w64_graphics.py on aa2988cc, AMD Radeon RX 9070 XT, AMD Windows driver 32.0.32029.2010, Vulkan validation on: all five ps_w64_a_* fixtures ok (identical at 64 and 32, equal to the header words), as are the tier B and tier C pixel fixtures (full result). No code changes, so nothing else to run.

AI-assisted (Claude Code). No game data.

🤖 Generated with Claude Code

…tures

The partition-invariance row still said ds_bpermute/v_permlane16 (and ds_swizzle,
v_permlanex16) were not GPU-tested for lack of a fixture. ps_w64_a_bpermute,
ps_w64_a_permlane and ps_w64_a_swizzle cover all four, and w64_graphics.py passes
them at required 64 and 32 lanes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@Kam471 Kam471 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran this at ae0b55b7 on Windows 11: test_docs_links.py 6 OK, test_docs_design_rows.py 2 OK; git diff --check clean.

The SHADER-10 row now credits the TEST-433 fixtures (ps_w64_a_bpermute, ps_w64_a_permlane covering both v_permlane16 and v_permlanex16, and ps_w64_a_swizzle) for the tier A cross-lane permutes at required 64 and 32 lanes. That matches the fixtures listed elsewhere in the row. No blocking issue.

@shdann

shdann commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

AI-assisted review (Claude Code). I used no game files.

Head ae0b55b7. Windows 11, Python 3.14.7. pytest on the docs row tests and the wave64 fixture tests: 45 passed, 1 skipped (it needs llvm-mc).

Two corrections.

  1. The item ID is wrong. TEST-319 added ps_w64_a_bpermute, ps_w64_a_permlane and ps_w64_a_swizzle (commit 56998dcd, "TEST-319: GPU fixtures for wave64 graphics permutes"). TEST-433 is the rule that skips the tier A and B pixel fixtures on a device with fewer than 32 live lanes. Please write TEST-319 in the sentence and in the title.
  2. The clause that this pull request changes is a merge leftover. On main, the tier A list of the row contains two times "s_cbranch_scc* after a vote is the same kind of skip ... loops closed by execnz with no scalar state carried". The first copy has the current permute text (ds_bpermute/ds_permute/v_permlane16/v_permlanex16/ds_swizzle, the lane-id address rule). The second copy has the old text with "not GPU-tested here". I recommend to delete the second copy and not to repair it.

One addition. The row gives the device for each GPU result. Your run is new evidence for these three fixtures at required 64 and 32 lanes, so please add it where the row names them (after "TEST-319: permlane16 neighbour selects ..."): AMD Radeon RX 9070 XT, Windows driver 32.0.32029.2010, equal at 64 and 32.

The row is one line of docs/design.md, and #4541, #4138, #4373 and #3570 change the same line.

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.

3 participants