Skip to content

docs/d3d12_vulkan.md: each milestone row once, the current one - #3634

Open
traeb0n wants to merge 2 commits into
ItsNotRexed:mainfrom
traeb0n:d3d12-doc-milestones
Open

traeb0n wants to merge 2 commits into
ItsNotRexed:mainfrom
traeb0n:d3d12-doc-milestones

Conversation

@traeb0n

@traeb0n traeb0n commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Claim: #3574 (comment)

On main f847748, §6 of docs/d3d12_vulkan.md (boot milestones) had M2, M3, M6 and M7 twice each. Merges had left an older row next to the one that replaced it. The two M6 rows contradicted each other on the BVH builder's FSSM programs: "42 pass spirv-val, four rules left" against "51 pass, one rule left".

Which copy was kept:

Row Kept Dropped
M2 with the d3d12_m2_formats results (BC1, BC7, mips, arrays: 12 cases, error 0) "texture formats other than R8G8B8A8_UNORM, mips and arrays" as not yet done
M3 the single-output occlusion probe (D3D-209), as the paragraph under the table describes the original two-output query wording
M6 51 of 52 pass, one rule left (as #2473 has it) 42 pass, four rules left
M7 plane compose done (#2069), HDR10 verified on an RTX 5080 "HDR, VRS, plane compose, alt-tab are open"

No other text changes; the rows are back in M0–M7 order.

Test: tests/test_docs_table_ids.py fails when a Markdown table names the same bold ID (| **M2** |) in two of its rows. It runs over every tracked .md. Tables keyed by plain values (1k, BC1, sizes) repeat them on purpose, so they aren't checked. Like #3132, which does this for design.md's contract rows, it should keep the duplicates from coming back.

  • It fails on main f847748 (docs/d3d12_vulkan.md:2760 and :2762 (**M2**) …).
  • It passes here, with a self-check of the parser (fenced blocks and separate tables are skipped).

test_docs_list_items, test_docs_links, test_docs_repo_paths and test_docs_design_rows pass. Docs and a test only; no runtime change.

AI-assisted (Claude Code).

🤖 Generated with Claude Code

@kotorvr

kotorvr commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Read 4e001c0 on Windows 11 (Python 3.13.7): pass

  • python -I tests/test_docs_table_ids.py at the head: 2 tests, OK. With the test file on the merge base f847748 (main's docs/d3d12_vulkan.md): 1 failure, test_docs_have_no_repeated_table_ids, naming docs/d3d12_vulkan.md:2760 and :2762 (**M2**) and the other repeated rows, as the description says.
  • The table: main has 13 milestone rows (M2, M3, M6, M7 twice), the head has 9, in M0–M7 order, and each of the 9 is byte-identical to one of main's rows, so "no other text changes" holds.
  • The kept copies agree with the rest of the repository: M2 names d3d12_m2_formats_test, which exists (runtime/CMakeLists.txt:1443); M3's single-output probe runtime/test/shaders/ps_m3_query.asm exists; M6's "51 pass spirv-val, one rule left" is what the page it links says (docs/embedded_shaders.md:94, :111), so the dropped "42 pass, four rules left" was the stale one.
  • tests/test_docs_design_rows.py, test_docs_links.py, test_docs_list_items.py, test_docs_repo_paths.py, test_ci_registration.py (the new file is registered) and test_text_write_line_endings.py: OK.
  • Overlap, for whoever merges: open Docs: drop three superseded table rows #2871 (opened 18:34Z, earlier) removes the doubled M2 and M3 rows of the same table and leaves M6 and M7 doubled. It keeps the same M2 row as this PR; its M3 row is not byte-identical to this one's. git merge-tree of the two: conflict in docs/d3d12_vulkan.md.

Not verified: the hardware results the kept M3 and M7 rows quote. AI-assisted check (Claude Code).

Section 6's milestone table repeats rows that merges left beside the ones
that replaced them. On main aa2988c: M3, M4 and M6 twice, M7 three times,
and M2 after M3. The copies contradict each other: M6 says 42 or 51 FSSM
programs pass, M4 lists the cross-queue layout handover as open or as fixed,
and M7 says plane compose is open, done, or done with tone mapping.
Kept the newest of each: M3 with the single-output occlusion probe (D3D-209),
M4 with d3d12_queue_handover_test, M6 at 51 of 52, M7 with HDR10-on-SDR tone
mapping. Rows back in M0-M7 order.

tests/test_docs_table_ids.py fails when a Markdown table names the same bold
ID (`**M2**`) in two rows. Tables keyed by plain values repeat them on purpose
and are not checked. It fails on main and passes here.

AI-assisted (Claude Code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@traeb0n
traeb0n force-pushed the d3d12-doc-milestones branch from 4e001c0 to c9c4ea9 Compare November 22, 2026 22:23
@traeb0n

traeb0n commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto main aa2988c (c9c4ea9). Thanks @kotorvr for the check. The table had got worse on main since: M3, M4 and M6 twice, M7 three times, and M2 after M3. Kept the newest of each:

  • M4: the one where the cross-queue layout handover is fixed (d3d12_queue_handover_test); the older copy still listed it as open.
  • M7: the one with HDR10-on-SDR tone mapping.
  • M3: the single-output probe. M6: 51 of 52.

Rows are back in M0–M7 order. test_docs_table_ids fails on this main and passes here; the other docs tests pass.

AI-assisted (Claude Code).

@paratustra

Copy link
Copy Markdown
Contributor

Code read at c9c4ea9. The milestone rows are each listed once now. The same merge leftover is also in §7 of docs/d3d12_vulkan.md, in the prior-art table: the row "The BVH builder's 53 compute shaders are Xbox DXIL with @xbox.* intrinsics; …" appears three times in a row (lines 3109-3111 on main aa2988c, still three on this head and on a trial merge with main). The three copies differ only in the last column, and two of them contradict each other the same way M6 did:

  • "52 programs, 42 pass spirv-val through the FSSM translator"
  • "52 programs, 51 pass spirv-val …"
  • "A separate translation path from the FSSM RDNA2 corpus. See section 4.8 and the paragraph below."

docs/embedded_shaders.md (lines 113 and 129) says 51 of 52, which matches the M6 row you kept, so the 42 copy is the stale one. The new test doesn't catch this because the row's first cell is not a bold ID. If this is in scope for this PR, keeping one copy here would leave the file without duplicate rows.

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

@zneel

zneel commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Reviewed and tested c9c4ea99 on Windows 11 Pro 10.0.26300, AMD Ryzen 7 9800X3D CPU (64 GB RAM), AMD Radeon RX 9070 XT (AMD 26.11.2), Python 3.12.10: looks good.

run result
pytest tests/test_docs_table_ids.py 2 passed in 0.48s

Review: Against main aa2988cc, the head's 9 milestone rows (docs/d3d12_vulkan.md:3020-3028, M0–M7 in order) are each byte-identical to one of main's 14. I word-diffed each of the 5 dropped rows against the kept copy, and every kept copy has all of the dropped text plus newer facts. Those facts are the M3 probe, the M4 handover fixed by d3d12_queue_handover_test (runtime/CMakeLists.txt:1087), M6 at 51/52 as in docs/embedded_shaders.md:113, and M7 tone mapping and plane compose, so nothing is lost. The PR's repeated_ids run on main's file flags 5 pairs (3023/3026 M3, 3025/3027 M4, 3029/3031 M6, 3030/3032 and 3030/3033 M7) and none at the head, so the test fails without the doc change. kotorvr checked the earlier head the same way and noted the conflict with #2871. Also for whoever merges: #2473 edits the M6 "42 pass" row this PR deletes, so the two conflict and that part of #2473 becomes redundant. #2843's tests/test_docs_table_rows.py checks for byte-identical rows, which adds to this test rather than repeating it.

AI-assisted (Claude Code); I checked the results.

Section 7's prior-art table had the BVH builder row three times, the same merge
leftover as the section 6 milestones. One copy said 42 of 52 FSSM programs pass
spirv-val, one said 51, and one pointed to section 4.8. embedded_shaders.md says
51 of 52, so that copy stays. Found by @paratustra in review.

test_docs_table_ids now also flags a repeated first cell that is a sentence
(40+ characters), not only a bold ID. No table on main repeats one that long
on purpose.

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

traeb0n commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @paratustra, good catch. bc6f8e5 keeps one copy of the BVH builder row in §7: the 51-of-52 one, which matches embedded_shaders.md and M6. I also widened test_docs_table_ids.py: a first cell that is a sentence (40+ characters) now counts as a key, alongside a bold ID. With the three rows put back it fails on docs/d3d12_vulkan.md:3104 and :3105. On this head it passes, and no other table in the tracked Markdown repeats a first cell that long, so the wider rule raises no false hits.

Tested bc6f8e5 with Python 3.11 on Windows 11: pytest tests/test_docs_table_ids.py: 2 passed. Docs only, no runtime change. No game files. AI-assisted (Claude Code).

@paratustra

Copy link
Copy Markdown
Contributor

Re-checked bc6f8e5: one copy of the §7 BVH-builder row is left, the 51-of-52 one. tests/test_docs_table_ids.py passes. My table scan finds no repeated milestone or sentence-keyed row left in docs/d3d12_vulkan.md, and the branch merges cleanly with main aa2988c. My note is resolved.

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

@SebSilent

Copy link
Copy Markdown
Contributor

Reviewed bc6f8e5 on Linux, CPU only (no game files, no GPU needed for this one): pass.

What I checked:

  • Current main is worse than when you branched: the milestone table now repeats M1, M3, M4 and M6 twice and M7 three times, and the BVH prior-art row is there three times, two of them disagreeing (42 pass vs 51 pass). Your head leaves exactly one row per milestone, M0..M8, nine rows, all distinct.
  • The copies kept are the current ones. The kept M7 is the variant where plane compose is done and only VRS, alt-tab and the AMD HDR10 display run are open, matching the paragraph under the table. The kept BVH row says 51 of 52, which is what docs/embedded_shaders.md measures today.
  • Merge simulation: I built the merge of your head with current main via git merge-tree, no conflicts, and the merged document still has one row per ID and the BVH row once. So the third copies that landed after you branched do not survive the merge, which was my main worry with a whole-table rewrite.
  • Tests: python -I tests/test_docs_table_ids.py gives 2 tests OK, and the guard reads every tracked Markdown table, not just this one, so future merge leftovers trip it. test_docs_links, test_docs_list_items, test_docs_repo_paths, test_docs_design_rows and test_docs_cli_flags all pass on your head and on the merged tree.

The guard test is the part I'd keep even if the doc fix were redone by hand. Nice catch. AI-assisted.

@kapitche

Copy link
Copy Markdown
Contributor

Tested bc6f8e59 merged with main 03b09a08 on Linux (WSL2 Ubuntu), Python 3.12.16, and native Windows 11, Python 3.13.1: pass.

  • tests/test_docs_table_ids.py: 2 tests OK on both. Merge was clean.
  • Negative control: with main's docs/d3d12_vulkan.md the repeated-ID test fails on both OSes (1 failure, listing the repeated rows).
  • Read the doc diff: it keeps one row each for M3, M4, M6, M7 and the section 7 BVH-builder row. In each case the kept copy is the newer, more complete one (M3 with the occlusion probe, M4 with d3d12_queue_handover_test, M7 with plane compose, M6 and the BVH row with 51 of 52, which matches docs/embedded_shaders.md "51 of the 52 programs translate and pass spirv-val"). The referenced runtime/test files and ps_m3_query.asm exist. No concern.

@bobcatchris bobcatchris 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.

Verified on a clean checkout of the head (Windows, Python 3.12, CPU only):

  • python -I tests/test_docs_table_ids.py — 2/2 OK; the other docs suites (links, list items, repo paths) all OK.
  • The negative control is real and current: on main 03b09a086 the guard finds 7 duplicated first cells (M3, M4, M6, M7 twice, M7 a third time, and the 'BVH builder's 53 compute shaders' sentence twice) — more than the body's original M2/M3/M6/M7 list, because the merge rounds since f847748c added more. The PR head is at 0, and its single-cell-per-bold-ID guard is exactly the regression check this file class needs: milestone tables are edited one row at a time and merges keep both sides silently.
  • Kept-side choices check out (the '51 of 52 pass' M6 row matches #2473's census; the M7 plane-compose row matches #2069; the M3 single-output occlusion wording matches the paragraph under the table).

Approving. Note for the coordinator: merging this before the next docs round keeps d3d12_vulkan.md from re-accumulating the M4/sentence pairs main picked up in the last two merges.

AI-assisted.

@memorypressure

Copy link
Copy Markdown

Verified on current main: the milestone table now has exactly one row per milestone (main had M3/M4/M6 twice and M7 three times), the kept rows are the current variants, the 51-of-52 spirv-val count matches section 4.8's prose, and all issue/PR references in the table survive. tests/test_docs_table_ids.py passes across all tracked Markdown, and merge-tree against #3605 is conflict-free. One nit: the test docstring's "M2 … twice" phrasing no longer matches current main (M3/M4/M6 twice, M7 three times, no M2 duplicate). AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run).

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.

8 participants