Repository navigation
Docs: the wave64 count is 23,841 (FSSM flag); untangle the Wave size row - #3066
Conversation
docs/design.md's "Wave size" row kept both versions after the FSSM wave-size flag (ItsNotRexed#1900) landed: it opened with the old marker figure in bold (21,545), gave the FSSM figure with a stray closing "**", and repeated the old marker breakdown twice. README.md's status table still said 21,545. The row now states the FSSM u32[0xD4] bit 5 counts once and keeps the code markers as the superseded estimate. The README says 23,841. Checked on a full-corpus translation (own 1.0.2.1 copy, counts only): at ec8ec4c the index marks exactly 23,841 wave64 (PS 10,974, mesh 9,282, VS 2,236, CS 1,154, GS 195) and 2,662 wave32 (CS 1,535, PS 1,127). At 6a6704d the code markers made 21,538 of 26,487 translated shaders wave64, and they call exactly the row's 2,287 (943 PS, 1,057 VS, 287 CS) wave32. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested at the head on Windows 11 / Python 3.13.0: docs suites all pass ( The main numbers are right: 23,841 / 26,503 matches Two wording nits:
Approve with those two. AI-assisted review, docs only. |
|
Read 2546446 against main f847748: 1 issue
Checked and fine: README and design.md now both say 23,841; the flag description matches |
… breakdown The breakdown kept from the first marker scan (9,930 PS, 8,666 mesh, 1,115 VS, 923 CS) adds up to 20,634, not to the 21,545 or 21,538 the row attributes to the markers (review by @kapitche). The row now gives the per-stage split of the 21,538 measured at 6a6704d (10,031 PS, 9,282 mesh, 1,179 VS, 851 CS, 195 GS; the 16 refused then are wave64 CS by the flag) and says where the older figures came from. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@kapitche thanks, you're right: 9,930 + 8,666 + 1,115 + 923 = 20,634, so that breakdown never matched the 21,545 / 21,538 totals. Fixed in b8fb76c:
|
|
Independently checked the FSSM side of b8fb76c against my local 1.0.2.1 package. On CachyOS Linux 7.3.5 with the parser at aa2988c, read the wave-size flag of every one of the 26,503 carved FSSMs. Exact match: 23,841 wave64 (10,974 PS, 9,282 MS, 2,236 VS, 1,154 CS, 195 GS) and 2,662 wave32 (1,535 CS, 1,127 PS). No missing headers. This used the current header reader; I did not re-evaluate the older marker-based baseline. CPU-only, counts only. |
Claimed in the coordination issue as: new item, claim
What and why
Since the FSSM wave-size flag (#1900) landed, the docs give two wave64 counts:
docs/design.md's "Wave size" row kept both versions after a merge. It opened with the old instruction-marker figure in bold ("Most of the game's shaders are wave64: 21,545 of 26,503."), then gave the FSSM figure as "23,841 of 26,503**" with a stray closing**, and repeated the old marker breakdown twice, before and after the new counts.README.md's status table still said "The row now states the FSSM
u32[0xD4]bit 5 counts once and keeps the code markers as the superseded estimate. Their numbers are now measured, not left over from the merge. The README says 23,841 and points to the row. The rest of the row (what wave64 means on 32-wide subgroups) is unchanged.#2925 edits the neighbouring "Wave64 handling" row (
docs/design.md:299) only, so the two don't overlap.Tested
Counts from full-corpus translations of my own 1.0.2.1 copy (counts only; WSL Ubuntu, Python 3.14.4, llvm-mc 21.1.8, SPIRV-Tools v2026.1,
rdna2spirv.py --shard i/N --no-asm+--merge), read from the translatedindex.json(wave64,subgroup_size,stage):mainec8ec4c: 26,503 translated and spirv-val valid. 23,841 wave64: PS 10,974, mesh 9,282, VS 2,236, CS 1,154, GS 195. 2,662 wave32: CS 1,535, PS 1,127.subgroup_size == 64exactly wherewave64is set. These are the row's FSSM numbers.main6a6704d (code markers, before rdna2spirv, fssm_header: read authoritative wave size from FSSM 0xD4 bit 5 #1900): 21,538 of the 26,487 shaders translated then are wave64. The 16 it didn't translate were SHADER-348's gathers, all wave64 by the flag. Shader by shader against ec8ec4c, the markers call 2,287 wave64 shaders wave32 (943 PS, 1,057 VS, 287 CS) and none the other way. That is the row's 2,287. The 21,545 the docs quoted came from an earlier marker version; the row now says so.python -I tests/test_docs_design_rows.py,test_docs_links.py,test_docs_list_items.py,test_docs_repo_paths.py,test_i18n_index.py,test_hashdict.py: OK. Docs only, no GPU needed.Checklist
docs/design.md, with how it was confirmed. (No new rule: a count and wording fix.)AI-assisted (Claude Code).
🤖 Generated with Claude Code