Repository navigation
docs/design.md: three stale spots (swizzle row, gather mip clamp, manifest verify) - #3005
Merged
ItsNotRexed merged 1 commit intoNov 22, 2026
Merged
Conversation
…ifest verify) From @tupacfan04's finding on ItsNotRexed#2891: - the swizzled-buffer row ended with 'Unmeasured: the swizzled layout on RDNA2 hardware', though docs/shader_validation.md records it measured on gfx1036 (SHADER-343, 22 of 22 bit-exact); the tail keeps only what is still unmeasured; - 'Other additions' restated the image_gather4_l(_o) mip clamp the 'Gather sampler LOD' row already gives; it now refers to that row; - the tools list said manifest.py has a --verify mode; it has create and verify subcommands (manifest.py --verify exits 2).
Contributor
|
Docs match the code at the head ( Approve. AI-assisted review, docs only. |
This was referenced Nov 22, 2026
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.
Fixes the three spots in @tupacfan04's
docs/design.mdfinding on #2891. Docs only.docs/shader_validation.md("RDNA2 swizzled buffer addressing", SHADER-343) records the layout measured on gfx1036 withtools/buffer_swizzle_probe.py: 22 cases, 22 bit-exact. The "Unmeasured" list now says the layout is measured, with that reference, and keeps only what is still unmeasured: offsets that aren't dword-aligned, the 32-bit offset wrap, and GFX11's two-bit SWIZZLE_ENABLE.image_gather4_l(_o)mip choiceFloor(clamp(LOD, S# MIN_LOD, MAX_LOD) + 0.5), which the "Gather sampler LOD" row (line 262) already gives with its measurements. It now says the four fetches are at the mip that row chooses. Nothing else in that row changes, and Translator: gather wrap/mirror modulo without OpSMod, independent of the driver's sign (SHADER-369) #2144/Translator: gather wrap/mirror use OpSRem + fix-up, not OpSMod (AMD Windows driver reads zeros) #2105's wrap sentence is untouched.manifest.pyhas "a --verify mode". It hascreateandverifysubcommands, andmanifest.py --verifyexits 2 with "invalid choice". Line 492 already usesmanifest.py verify <game>. This line is in a plain code listing, so no backticks.tests/test_docs_design_rows.py,test_docs_links.py,test_docs_list_items.pyandtest_docs_repo_paths.pyall pass.AI-assisted (Claude Code): I reviewed the change and ran the docs tests.