Repository navigation
README: one status row per topic; the design-rows test checks the top-level README too - #5973
GustawMatuszewski wants to merge 1 commit into
Conversation
…-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
left a comment
There was a problem hiding this comment.
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.pyworks both ways. On this branch it passes. Copied onto main561b65a83, 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_*.pypass on this branch, andscripts/check_no_game_data.pyexits 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/anddocs/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.
Claimed in the coordination issue as: #5032 (comment) (finding: #5032 (comment))
Depends on: none; conflicts with none (base
561b65a83is current main; #5118 touchesdocs/testing.md, this touchesREADME.mdand 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
PresentXplanes run on Vulkan, tested on NVIDIA, AMD and Intel).This keeps one row per topic, the newest variant by blame commit time:
a98608796(one-row form with the 23,841 wave64 count)spirv-val)9ae9183aa(separate validation row)d1c566622(verified 382,781-model recount)ttpf_mips.py/BCPackLimitationform57c175391(the maintainer's post-revert row)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") coversdocs/design.md,docs/README.mdanddocs/testing.md— but not the top-levelREADME.md, where the status table lives, which is why the suite stayed green.PAGE_PATHSnow 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)tests/test_docs_*.pysuite: all OK on the changed treescripts/check_no_game_data.py: exit 0git show upstream/main:README.mdit lists the six groups at lines 50-69; against the changed file it is emptyDocs and one test file; no game files. AI-assisted: yes.
Checklist