Skip to content

README: one status row per topic (PROC-234) - #4782

Open
vibryxcx wants to merge 1 commit into
ItsNotRexed:mainfrom
vibryxcx:proc-234-readme-rows
Open

vibryxcx wants to merge 1 commit into
ItsNotRexed:mainfrom
vibryxcx:proc-234-readme-rows

Conversation

@vibryxcx

Copy link
Copy Markdown

Claimed in the coordination issue as: PROC-234 (claim)

What and why

The status table in README.md on main (98fa503f) had two rows for five topics, some with contradicting numbers. This keeps one row per topic:

  • Shaders: RDNA2 → SPIR-V translation (the fifth pair, pointed out by @0klavair). 9ae9183a split translation from validation, and the validation row is the next one, but the older combined row stayed. The translation-only row stays, with the current wave64 count from the combined row (23,841 by the FSSM flag, 2546446d, with its docs/design.md link) instead of the older 21,545. Its "validation results are listed below" now says "SPIR-V validation is the next row".
  • Models: the 2026-11-20 row ("Not all layouts are decoded yet") goes; the 382,781-model row stays.
  • Texture dictionaries and world texture pools: the row saying tools/bcpack.py "is not wired into rpf9dump yet" goes; the row describing the strict-mode decode plus the assets-stage completion stays.
  • Xbox D3D12 → Vulkan: the row with "No buffer views, root signatures, pipelines, draws, placed resources, 1D textures or swapchain yet" goes; the newer row that has them stays.
  • Ray tracing (BVH): the row with "the XDXR-vs-KHR default" still open goes; the row saying XDXR is the default stays.

Every kept row is the more recent one in git blame and is unchanged except the shader row's wave64 sentence.

Tested

Windows 11 Pro 25H2, Python 3.12.10. Docs only; no GPU or game files.

  • Every tests/test_docs*.py file (10, including links, table rows and table IDs): OK.
  • No topic appears twice in the status table any more (checked by grouping the first column).
  • git diff --check: clean.

AI-assisted (Claude Code).

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (N/A: README only.)

🤖 Generated with Claude Code

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

Ran this at 4299c70d8 on Windows 11: test_docs_links.py 6 OK, test_docs_table_rows.py 2 OK; git diff --check clean.

The README status table is condensed to one row per topic (seven rows removed, one kept), matching the PROC-234 convention; the links validate. No blocking issue.

@DenRakEiw

Copy link
Copy Markdown
Contributor

Tested 4299c70 on Windows 11, Python 3.12.10 (docs check, no game files): pass.

  • Trial-merged onto origin/main (98fa503): merges cleanly; git diff --check clean.
  • python -I tests/test_docs_links.py: 6/6 OK.
  • python -I tests/test_docs_table_rows.py: 2/2 OK.
  • Code read: removes the stale duplicate rows in README.md's status table (shader translation, models, textures, D3D12→Vulkan, ray tracing) while preserving the newer measurements and links. No blocking issues.

AI-assisted review (Gemini).

@tupacfan04

Copy link
Copy Markdown
Contributor

PASS on content, with one regression-test gap.

All 10 tests/test_docs*.py pass, test_progress_dashboard.py 26/26, compileall and git diff --check clean, merge clean. The table has 13 rows and no repeated first cells; the kept shader row's 23,841 wave64 matches docs/design.md:298 and 2546446d; XDXR-as-default matches runtime/shims/d3d12_vulkan_device.cpp:8134-8142; the kept rows are the newer blame revisions.

The gap: reverting README.md to origin/main still passes every test, because tests/test_docs_design_rows.py:22 checks docs/design.md, docs/README.md and docs/testing.md but not the root README.md. Adding it to PAGES passes on this PR (repeated_topics/mis_shaped_rows are clean against the root README) and would prevent this from coming back. Non-blocking, but cheap.

Approve. AI-assisted review, docs only.

@memorypressure

Copy link
Copy Markdown

Merged cleanly with current main and re-verified: each duplicated topic keeps the newer row (e.g. the wave64 count 23,841 from the FSSM-flag correction replacing the stale 21,545), and all eight tests that read README.md (test_docs_*, test_check_no_game_data, test_gdk_runtime_calls, test_i18n_index) pass. The duplicate rows came in with 9ae9183; the identical-rows guard cannot see topic-level dupes, so this manual hygiene pass was needed. No CI checks were reported. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run).

@zneel

zneel commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

@vibryxcx, could you rebase this onto current main (561b65a8)? It conflicts in README.md, and #5195 (my status re-check) is stacked on it, so mine can't land until this one does.

The duplicates have grown since you opened it. The triage merges keep both sides of the status table, so main now has 16 rows for 6 topics:

Topic Rows on 561b65a8
Xbox D3D12 → Vulkan 4
Ray tracing (BVH) 3
Texture dictionaries and world texture pools (DDS) 3
Models (OBJ with real names, UVs, material references) 2
Shaders: RDNA2 → SPIR-V translation 2
SPIR-V validation (spirv-val) 2

(git show upstream/main:README.md | grep '^| ' | cut -d'|' -f2 | sort | uniq -c.) a986087 (kapitche) already did the shader-translation part once, and a later merge brought the second row back.

That repeat is the regression-test gap @tupacfan04 and @memorypressure pointed out: test_docs_table_rows.py only catches identical rows, not two rows with the same first cell. A check that the status table's first cells are unique would keep PROC-234 fixed. I'm happy to add it here or in a follow-up, whichever you prefer.

If you're busy, say so and I'll push a rebased branch to my fork that you can pull or cherry-pick. Your commit and authorship stay as they are.

AI-assisted (Claude Code); the counts above come from main at 561b65a8.

Rebuilt on main 561b65a, where the triage merges had kept both sides of
the status table: 16 rows for 6 topics. One row stays per topic:

- Shaders: RDNA2 -> SPIR-V translation: the translation-only row
  (a986087), pointing at the validation row next to it, with the wave64
  count's FSSM-flag source and docs/design.md link from the combined row.
- SPIR-V validation: the row with the Windows run's link (8b1049b).
- Models: the 382,781-model row (d1c5666).
- Texture dictionaries: the fullest rpf9dump/assets-stage row (0b279fa).
- Xbox D3D12 -> Vulkan: the row that lists draws, bundles and resolves
  and what is still open (326ebb1).
- Ray tracing (BVH): the row with TRI1 pairing and BOX16 in (b8c07f8).

tests/test_docs_table_rows.py gains a check that the README status table
has one row per first cell; the identical-row check could not see these.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vibryxcx
vibryxcx force-pushed the proc-234-readme-rows branch from 4299c70 to 650acda Compare November 23, 2026 13:12
@vibryxcx

Copy link
Copy Markdown
Author

@zneel, done: rebuilt on main 561b65a8 as 650acdaa (one commit, no conflicts now), so #5195 can stack on it.

  • All six topics have one row each (your table: 16 rows -> 6). Per topic I kept the newest dedicated README rewrite; the commit message lists which commit each kept row comes from.
  • One to double-check: the dropped D3D12 row with the newest blame came from 57c17539 ("Revert d3d12_xs: console-ABI command lists, upload arena, PC-list fixture path #2490 ..."), but its text is the older wording (console list proxy, "Still open: the console list tail"). I kept 326ebb14's fuller row (draws, bundles, resolves, "Not yet: mesh-shader draws ..."); say if the revert meant that older text to stand.
  • Thanks for the test idea, it's in: test_docs_table_rows.py now checks that the README status table has one row per first cell. On 561b65a8 it fails (README.md:50 and 52: two status rows for 'Shaders: RDNA2 → SPIR-V translation'); here it passes.
  • All 11 tests/test_docs_*.py OK on Windows 11, Python 3.12.10; git diff --check clean.

AI-assisted (Claude Code).

@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 650acdaacd on top of main 561b65a83 (Windows 11, CPython 3.14.7, python -I). The row choices are right in all six topics. One sentence in the result is wrong because of the order the two shader rows end up in.

What checks out

  • D3D12: keeps main line 64 (326ebb14), the variant that matches the code. Line 63 still carries #2490's text (the console-shaped list proxy and AllocateUploadMemory), which main reverted in 57c175391, and git grep -i AllocateUploadMemory origin/main -- runtime finds nothing. Dropping it is right.
  • Ray tracing: keeps line 69 (b8c07f8c), the only variant saying the builder writes TRI1 leaves and that TRI1 pairing and BOX16 are in. Lines 65 and 67 still list those as not done.
  • Models and textures: the 382,781-model row and the ttpf_mips.py / BCPackLimitation row stay.
  • Links: the kept validation row (line 51) has the link to the Windows run at 43d0015, and the wave64 sentence gains the docs/design.md "Wave size" link.
  • The new test: test_readme_status_table_has_one_row_per_topic passes here, and copied onto main it fails (README.md:50 and 52). All 11 tests/test_docs_*.py pass, and scripts/check_no_game_data.py exits 0.

To fix: the validation row now comes before the translation row

The kept rows are main line 51 (validation) and line 52 (translation), so the final table reads:

50: | SPIR-V validation (`spirv-val`) | ...
51: | Shaders: RDNA2 → SPIR-V translation | ... SPIR-V validation is the next row. ...

The rewritten sentence says validation is the next row, but it is the previous one. I'd swap the two rows, so translation comes first as in every other version of the table and the sentence holds, rather than changing the sentence to "previous row".

Smaller points

  • The PR description is out of date: it talks about main 98fa503f and five topics with two rows each. On current main it is six topics and 16 rows, and D3D12 had four variants, one of them the reverted #2490 text. Your commit message already says "16 rows for 6 topics on 561b65a", so the description could say the same.
  • The test stops at the first repeated topic (self.fail inside the loop), so on main it reports only "50 and 52" out of six groups. Collecting all of them and failing once would show the whole fix list at once, like test_docs_design_rows.py does.

Overlap with #5973

#5973 dedupes the same table and conflicts with this PR in README.md, so only one of the two can land. This PR has the better row choices: #5973 keeps line 63, the reverted #2490 text (I left a review there). #5973's test is broader, though: it adds the top-level README.md to test_docs_design_rows.py's repeated-topic rule, which covers every table in the file, while this test covers the status table only. Leaving that for the coordinator.

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

@shipped-it

Copy link
Copy Markdown

Tested 650acdaacd on Linux (Arch, /usr/bin/python3 3.14.8, CPU-only, no game files): compileall -q make_game.py tools tests clean; test_docs_table_rows 3 OK; docs 34 OK; scripts/check_no_game_data.py clean on all changed files. VERDICT: pass. AI-assisted (omp coding assistant).

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