Repository navigation
Conversation
…tier A, GPU-checked on RADV)
…t, not an even-start assumption
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-filed from #7311, which was closed in the repo move (same branch, same head 3e42b89, nothing changed). Claim: #7231 (comment)
Adds
vs_w64_a_bpermute, a vertex-stageds_bpermute_b32fixture for SHADER-10 tier A. The pixel counterpartps_w64_a_bpermuteexists; there was no vertex permute fixture.Each vertex stores four words to its heap record: a
lane ^ 1read, an affine function of it, a round trip through lane^ 1, andv >> 1. The expected words are derived from the lane layout thatvs_w64_c_lane_idmeasures at the same size, because GPUs pack vertices differently: RADV gfx1036 and gfx1031 pack 64/62, an RX 5700 XT (gfx1010) and a BC-250 (gfx1013) pack 64/59, and the AMD Windows driver on an RX 9060 XT packs 64/21. A first version assumedlane ^ 1held vertexv ^ 1and failed on the odd-start GPUs; the translator was never at fault, and the 64-vs-32 images were identical on every GPU reported.Changes: the
.asm, aFIXTURESentry, anEXPECTentry,layout_words,layout_derivedandlayout_is_halveshelpers inw64_graphics.py, and 6 new tests intests/test_wave64_halves_fixtures.py. No translator change.Results (no game files; counts and pass/fail only):
LEONIDA_W64_EMULATE=1): 30 of 30 ok, 16 pytest passed.AI-assisted (Claude Code).