check.py: fmt_all_test docstring counts the fixture as it is (DOC-FMT-ALL-DOCSTRING) #942

Manually merged
github merged 1 commit from gh-pr/942/head into gh-pr/942/base 2026-11-26 09:29:34 +00:00
Owner

@⁠MoonEyes on GitHub · 2026-11-24 15:25 UTC · original
MoonEyes:docs/fmt-all-docstring → main · +1 −1 · 1 files · 1 commits · merged 2026-11-25 09:02 UTC

Claimed in the coordination issue as: DOC-FMT-ALL-DOCSTRING

What and why

The fmt_all_test docstring in runtime/test/shaders/check.py still describes cs_fmt_all before b5b650186 grew it: "28 loads ... 15 stores ... 316 words in all". Only the three numbers change.

Tested

Counted on main a28927849:

  • cs_fmt_all.asm: 29 buffer_load_format_xyzw + 3 tbuffer_load_format_xyzw = 32 loads, and 20 buffer_store_format_xyzw.
  • len(check.FMT_ALL_WORDS) = 336.

The .asm header, the comment above FMT_ALL_WORDS and docs/design.md already give these numbers. The change touches a docstring only, so no behaviour changes.

GPUs tested: n/a

AI-assisted: yes (Claude Code; a separate review agent checked the diff)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • 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)
**@⁠MoonEyes** on GitHub · 2026-11-24 15:25 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/942) `MoonEyes:docs/fmt-all-docstring` → `main` · +1 −1 · 1 files · 1 commits · merged 2026-11-25 09:02 UTC Claimed in the coordination issue as: DOC-FMT-ALL-DOCSTRING ### What and why The `fmt_all_test` docstring in `runtime/test/shaders/check.py` still describes `cs_fmt_all` before b5b650186 grew it: "28 loads ... 15 stores ... 316 words in all". Only the three numbers change. ### Tested Counted on `main` a28927849: - `cs_fmt_all.asm`: 29 `buffer_load_format_xyzw` + 3 `tbuffer_load_format_xyzw` = 32 loads, and 20 `buffer_store_format_xyzw`. - `len(check.FMT_ALL_WORDS)` = 336. The `.asm` header, the comment above `FMT_ALL_WORDS` and `docs/design.md` already give these numbers. The change touches a docstring only, so no behaviour changes. GPUs tested: n/a AI-assisted: yes (Claude Code; a separate review agent checked the diff) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] 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)
The docstring still described cs_fmt_all before b5b650186 grew it:
"28 loads ... 15 stores ... 316 words in all". The fixture has 32
typed loads (29 buffer_load_format_xyzw + 3 tbuffer_load_format_xyzw),
20 buffer_store_format_xyzw, and len(FMT_ALL_WORDS) is 336, as the
.asm header, the comment above FMT_ALL_WORDS and docs/design.md
already say. Only the three numbers change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:29:33 +00:00
github manually merged commit 7884142013 into gh-pr/942/base 2026-11-26 09:29:34 +00:00
Author
Owner

@⁠morodirule on GitHub · 2026-11-24 15:46 UTC · original

Independent check on Linux main (f3e26be7c, no GPU/game needed): confirmed 32 loads / 20 stores / 336 words. cs_fmt_all.asm header says "32 loads" + "20 buffer_store_format_xyzw", words 0..335 with VKC_OUT_WORDS=336; check.py:263 comment says "32 typed loads"; len(FMT_ALL_WORDS) == 336 by AST parse. The old "28 loads, 15 stores, 316 words" docstring is stale, the new text matches the fixture.

**@⁠morodirule** on GitHub · 2026-11-24 15:46 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/942#issuecomment-7136580244) Independent check on Linux main (f3e26be7c, no GPU/game needed): confirmed 32 loads / 20 stores / 336 words. `cs_fmt_all.asm` header says "32 loads" + "20 buffer_store_format_xyzw", words 0..335 with `VKC_OUT_WORDS=336`; `check.py:263` comment says "32 typed loads"; `len(FMT_ALL_WORDS) == 336` by AST parse. The old "28 loads, 15 stores, 316 words" docstring is stale, the new text matches the fixture.
Author
Owner

@⁠aslan2142 on GitHub · 2026-11-25 09:02 UTC · original

Merged. Checked against current main: the new numbers match the fixture.

  • cs_fmt_all.asm: 29 buffer_load_format_xyzw + 3 tbuffer_load_format_xyzw = 32 loads, 20 buffer_store_format_xyzw.
  • len(FMT_ALL_WORDS) is 336, as the .asm header (VKC_OUT_WORDS=336) and docs/design.md say.
  • The claim DOC-FMT-ALL-DOCSTRING came before the PR; the competing claim was released.
  • Checked on main 429889ff1 + 788414201: the semantic suite passes (487 files, 6,279 tests, 0 files failed); test_run_gpu_tests, test_shader_checks pass; the 14 docs and writer tests pass; check_no_game_data.py is clean on the 1 changed files.

Thanks.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠aslan2142** on GitHub · 2026-11-25 09:02 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/942#issuecomment-7157785492) Merged. Checked against current `main`: the new numbers match the fixture. - `cs_fmt_all.asm`: 29 `buffer_load_format_xyzw` + 3 `tbuffer_load_format_xyzw` = 32 loads, 20 `buffer_store_format_xyzw`. - `len(FMT_ALL_WORDS)` is 336, as the `.asm` header (`VKC_OUT_WORDS=336`) and `docs/design.md` say. - The claim `DOC-FMT-ALL-DOCSTRING` came before the PR; the competing claim was released. - **Checked on `main` `429889ff1` + `788414201`:** the semantic suite passes (487 files, 6,279 tests, 0 files failed); `test_run_gpu_tests`, `test_shader_checks` pass; the 14 docs and writer tests pass; `check_no_game_data.py` is clean on the 1 changed files. Thanks. AI-assisted (Claude Code, Claude Opus 5.5).
This discussion has been locked. Commenting is limited to contributors.
No description provided.