Repository navigation
docs/shader_validation: one copy of the SHADER-302 packed-16-bit section (EGEN-SHIVAL-S302-DUP) - #6969
Closed
Vonsek wants to merge 2 commits into
Closed
docs/shader_validation: one copy of the SHADER-302 packed-16-bit section (EGEN-SHIVAL-S302-DUP)#6969Vonsek wants to merge 2 commits into
Vonsek wants to merge 2 commits into
Conversation
… section The section (heading, measurement note, corpus sentence, op_sel/clamp/parity bullets) was copied whole into two later places in the ps_oracle page, so a reader met the same 380-kernel result three times. Keep the first copy at 1885 and drop the two later ones, byte-identical, plus the blank lines they left before the next heading.
…ts from the ps_oracle section A merge left the SHADER-302 heading between the RADV paragraph and the Mesa varying note, and its three bullets after the RADV checked-on text, so the op_sel/clamp/parity claims about 380 packed-16-bit kernels sat in the middle of the ps_oracle page. Remove the splice and keep one blank line between the two ps_oracle paragraphs it split.
Contributor
|
Tested on Windows 11 (AMD Ryzen CPU), AI-assisted review. Verification of PR #6969:
Clean docs cleanup, no merge conflicts or regressions. |
Collaborator
|
Tested dc56225 merged with main 8575d36 on Linux/Python 3.12.16: pass Merge was clean (24 deleted lines in docs/shader_validation.md). There is no code or test, so no negative control applies. What I checked, by comparing the file on upstream/main with the merged one:
|
2 tasks done
Contributor
|
Coordinator note: SHADER-302 already has an open PR, #6160 by @shoal-rat (opened 13:18 UTC), so this looks like a duplicate. Please compare the two and either close this one or say here what it adds. The maintainer decides which one is merged. |
Raxstreams
pushed a commit
to Raxstreams/Leonida
that referenced
this pull request
Nov 23, 2026
…wn file test_docs_repeated_lines.py compares lines within three of each other, so a section a merge kept twice, dozens of lines apart, gets through: main has 30 such paragraphs in six docs (design.md's two "PAL stage descriptors" sections, models.md's two effect-record sections, ...). test_docs_repeated_paragraphs.py splits each tracked Markdown file into paragraphs (outside code fences, whitespace folded, table rows and headings left out) and flags one of 80 or more characters that occurs twice. The 30 repeats already on main are listed in KNOWN with the open pull requests that remove them (ItsNotRexed#5755, ItsNotRexed#6552, ItsNotRexed#5350, ItsNotRexed#5169, ItsNotRexed#5598, ItsNotRexed#4855, ItsNotRexed#6969, ItsNotRexed#5358, ItsNotRexed#5345), so only a new one fails; an entry whose repeat is gone is not an error, and those pull requests can merge in any order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 23, 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.
docs/shader_validation.mdshows the SHADER-302 packed-16-bit measurement (heading, measurement note, the 380-kernel sentence and its threeop_sel/clamp/ parity bullets) three times, and one of the copies is spliced into the middle of the ps_oracle page.What changed, in two commits:
### Packed 16-bit integer operations on RDNA2 (SHADER-302)heading between the RADV paragraph and the "Mesa optimises varyings" note, plus the same three bullets after the RADV "Checked on the Ryzen 7 9800X3D iGPU" text. One blank line is restored between the two ps_oracle paragraphs the splice split, so they stay two paragraphs.Nothing unique is lost: every deleted line was compared byte for byte with the copy that stays.
Test, no GPU needed. A check that asserts the copies are identical and then deletes them:
The existing docs tests all pass before and after:
tests/test_docs_repeated_lines.pyonly looks 3 lines ahead, so it cannot see copies hundreds of lines apart. That is why the duplicates survived; this is a docs fix, so it adds no new test.Notes: The ps_oracle section itself is also duplicated (its intro,
--show-templateblock and "Checked on" paragraph appear twice, at 1894-1947 and 1957-1993). I left it alone because it is a separate merge leftover of a different section, and reported it as a finding instead of growing this PR.No GPU. NVIDIA RTX 5080 / AMD RDNA2 iGPU not used.
AI-assisted.