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

Merged
MoonEyes merged 1 commit from upstream-pr/942 into main 2026-11-25 09:02:01 +00:00
MoonEyes commented 2026-11-24 15:25:04 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-24T15:25:04Z.


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)
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5475096804 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/942). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-24T15:25:04Z. --- 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)
morodirule commented 2026-11-24 15:46:09 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by morodirule on 2026-11-24T15:46:09Z.


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7136580244 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/942#issuecomment-7136580244). Originally posted by [morodirule](https://github.com/morodirule) on 2026-11-24T15:46:09Z. --- 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.
aslan2142 commented 2026-11-25 09:02:04 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-11-25T09:02:04Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7157785492 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/942#issuecomment-7157785492). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-11-25T09:02:04Z. --- 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).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!942
No description provided.