Skip to content

README: one status row per topic; the design-rows test checks the top-level README too - #5973

Open
GustawMatuszewski wants to merge 1 commit into
ItsNotRexed:mainfrom
GustawMatuszewski:docs/readme-status-dedupe
Open

GustawMatuszewski wants to merge 1 commit into
ItsNotRexed:mainfrom
GustawMatuszewski:docs/readme-status-dedupe

Conversation

@GustawMatuszewski

Copy link
Copy Markdown

Claimed in the coordination issue as: #5032 (comment) (finding: #5032 (comment))

Depends on: none; conflicts with none (base 561b65a83 is current main; #5118 touches docs/testing.md, this touches README.md and one test file).

What and why

The round-44 merge waves left six topics of the README status table two to four times over — each merged PR added its updated row next to the predecessor instead of replacing it. A reader stopping at the first variant misses the newer facts (the old "No buffer views, root signatures, pipelines, draws ... yet" D3D12 row still stood above the current one that says draws, bundles and PresentX planes run on Vulkan, tested on NVIDIA, AMD and Intel).

This keeps one row per topic, the newest variant by blame commit time:

Topic Variants Kept (commit)
Shaders: RDNA2 → SPIR-V translation ×2 a98608796 (one-row form with the 23,841 wave64 count)
SPIR-V validation (spirv-val) ×2 9ae9183aa (separate validation row)
Models (OBJ with real names, UVs, material references) ×2 d1c566622 (verified 382,781-model recount)
Texture dictionaries and world texture pools (DDS) ×3 the ttpf_mips.py / BCPackLimitation form
Xbox D3D12 → Vulkan ×4 57c175391 (the maintainer's post-revert row)
Ray tracing (BVH) ×3 b8c07f8cc (the TRI1-pairing row)

10 rows removed, 14 stay, no row rewritten.

The test

tests/test_docs_design_rows.py's repeated-topic rule (written 2026-11-22 for exactly this disease: "twenty topics appeared two to six times") covers docs/design.md, docs/README.md and docs/testing.md — but not the top-level README.md, where the status table lives, which is why the suite stayed green. PAGE_PATHS now includes it. On the pre-dedupe tree the rule finds all six groups; on this tree it is clean, and the benchmark/data pages (docs/bvh.md, docs/animation.md) stay out of scope as the test's docstring already promises.

Tested

  • python -I tests/test_docs_design_rows.py: 4 OK (its two self-tests still validate the checkers)
  • the full tests/test_docs_*.py suite: all OK on the changed tree
  • scripts/check_no_game_data.py: exit 0
  • the rule verified both ways: run against git show upstream/main:README.md it lists the six groups at lines 50-69; against the changed file it is empty

Docs and one test file; no game files. AI-assisted: yes.

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • N/A — no new translator rule.

…-level README too

The round-44 merge waves left six status topics two to four times over (Shaders x2, SPIR-V validation x2, Models x2, Texture dictionaries x3, Xbox D3D12 -> Vulkan x4, Ray tracing x3), older variants under and around the newer ones. Keeps the newest variant of each (by blame commit time): kapitche's one-row shader translation, slint6614-dev's separate validation row, Mulkku's verified model recovery, the ttpf_mips BCPackLimitation texture row, the maintainer's post-revert D3D12 row and zneel's TRI1-pairing BVH row.

tests/test_docs_design_rows.py's repeated-topic rule already covered docs/design.md, docs/README.md and docs/testing.md; PAGE_PATHS now includes the top-level README.md where the status table lives, so the suite fails if a merge leaves one topic twice.

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

Reviewed at 64088e654f on top of main 561b65a83 (Windows 11, CPython 3.14.7, python -I). The test change is right, and so are five of the six rows kept. The D3D12 row kept describes code that main reverted, so I'd swap that one before merging.

What checks out

  • tests/test_docs_design_rows.py works both ways. On this branch it passes. Copied onto main 561b65a83, it fails and names exactly the six groups: translation 50/52, validation 51/53, models 55/57, textures 56/58/59, D3D12 63/64/66/68, ray tracing 65/67/69.
  • All 11 tests/test_docs_*.py pass on this branch, and scripts/check_no_game_data.py exits 0.
  • The final table has one row per topic (14 rows), and "validation results are listed below" points at the row right under it.
  • Ray tracing, textures, models and the two shader rows: the kept rows are the fullest variants, and the removed ones are earlier versions of the same text. The BOX16 and TRI1-pairing claims in the kept RT row match runtime/ and docs/bvh.md.

The D3D12 row: the kept variant is #2490's text, and #2490 was reverted

Picking by blame time selects line 63 because 57c175391 ("Revert #2490") is its last commit. But that revert touched the row only to append ([plan](docs/d3d12_vulkan.md)) (see git show --word-diff 57c175391 -- README.md). The rest of the row is still #2490's description: "The console-shaped command-list proxy, the measured PresentX queue slots (30/32, layout-detected) wired to the presentation core, and AllocateUploadMemory (list slot 148, a mapped-upload arena ...) cover the console-ABI surface the package measures."

The revert removed that proxy from main ("its console-ABI list proxy breaks run_tiny_frame. ... Its docs rows go with it"). git grep -i AllocateUploadMemory origin/main -- runtime finds nothing, so after this PR the only D3D12 row left would describe code that isn't on main.

The variant that matches main is line 64 (326ebb14): "command lists and bundles ... pipeline libraries, command signatures ... Draws (MSAA included), dispatches and indirect dispatches ... colour and depth resolves ... as do DXGI swapchains and PresentX planes. Tested by contributors on NVIDIA, AMD and Intel GPUs ... Not yet: mesh-shader draws, the draw state of indirect draws, stream output ...". On main 561b65a83, runtime/shims + runtime/src have ExecuteIndirect (8 files), bundles (3), CreatePipelineLibrary, CreateCommandSignature, depth resolve, the DXGI swapchain and PresentX, and no mesh-shader draw, which is what that row says.

Suggestion: keep line 64 instead of line 63. To avoid losing detail, you could carry line 63's view-format list into it (1D/cube/3D views, the depth and stencil planes, B5G6R5 / B4G4R4A4 / R9G9B9E5, raw/structured/typed buffer SRVs), without the #2490 sentence.

Optional nits

  • The removed validation row linked the Windows run at 43d0015 (#644 comment). The kept row mentions that run without the link.
  • The removed translation row linked docs/design.md, section "Wave size", for the wave64 count. The kept row has the count but not the link.

Docs-only review: no game files and no GPU needed. AI-assisted (Claude Code). I checked the diff, the blame and the git grep counts above myself.

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.

2 participants