Repository navigation
docs/shader_validation: one copy of the SHADER-302 and ps_oracle sections (DOC-SHADER-VALIDATION-DEDUP) - #1605
Conversation
|
Reviewed 45d18d2: docs-only dedup of docs/shader_validation.md. On the PR tree and on main I ran Recommendation: Merge |
…ions (DOC-SHADER-VALIDATION-DEDUP) Repeated merges left "Packed 16-bit integer operations on RDNA2 (SHADER-302)" in the file four times and "Pixel-shader ISA on the hardware" twice: 2d3369a (a merge of origin/main into main) tripled SHADER-302 as SHADER-681's helper-lanes subsection came in, af1b3c9 merged #3061 a second time, and #3499's --format table then landed in only one ps_oracle copy. One SHADER-302 copy went in as a bare heading and its bullets in the middle of the RADV paragraphs. Keep one of each, in the order a66a71f had them before the repeats, with the two real additions in place: #3499's --format paragraph and table (0d58747) and SHADER-681's helper lanes (58bc80c). Every kept line is main's own text; the only line dropped that is in no remaining copy is the "Limits: ... mrt0 as RGBA32F only" line that 0d58747 itself replaced. Deletions only, so ubiquitarianism#1037 and ubiquitarianism#1039 (which insert after the first SHADER-302 copy) still merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: coolpilot904 <andrewjsottile@icloud.com>
45d18d2 to
6d1b27b
Compare
|
Rebased onto |
Claimed in the coordination issue as: DOC-SHADER-VALIDATION-DEDUP (#1604; #14 is at GitHub's 2,500-comment cap)
What and why
docs/shader_validation.mdonmainhas "### Packed 16-bit integer operations on RDNA2 (SHADER-302)" four times and "### Pixel-shader ISA on the hardware (tools/ps_oracle.py, EGEN-TOOL-PS-ORACLE)" twice. Following the file's history onmain:origin/mainintomain: SHADER-302 three times, as SHADER-681's helper-lanes subsection (58bc80c) came in.--formatand the export-format table) then landed in only one of the two ps_oracle copies, while the RADV part and the helper lanes are in the other.One SHADER-302 copy went in as a bare heading plus its three bullets in the middle of the RADV paragraphs, so the RADV text is split by an unrelated heading.
This keeps one SHADER-302 section and one ps_oracle section in a66a71f's order: the ps_oracle copy that has #3499's
--formatparagraph and table, then the RADV paragraphs, then the helper-lanes subsection. Deletions only (61 lines). The only line removed that is in no remaining copy is the old "Limits: one draw of one triangle, mrt0 as RGBA32F only" line, which 0d58747 itself replaced with "mrt0 only" after the table. Checked by script: the kept region equals a66a71f's region with 0d58747's and 58bc80c's added lines applied, blank lines and table rule rows aside.Open pull requests that also edit this file: #1037, #1039, #1040, #1478 and #630 each merge cleanly with this one (
git merge-tree); #1037 and #1039 insert after the first SHADER-302 copy, which is the one kept. #159 and #1366 already conflict withmainwithout this change.Tested
On
main42537e7:python -I tests/test_docs_*.py: all 12 OK (test_docs_repeated_lines.pyalso passes before this change; it only catches neighbouring repeats).python -I scripts/check_no_game_data.py docs/shader_validation.md: clean.git diff --check: clean.GPUs tested: n/a (docs only)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: docs only)🤖 Generated with Claude Code