shader: the per-stage census needs a second layer — 21,522 cache index entries and 21,044 extractor-accepted records behind the 26,503 records your classifier accepts #588

Open
opened 2026-11-22 14:47:45 +00:00 by MoonYueya · 9 comments
MoonYueya commented 2026-11-22 14:47:45 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by MoonYueya on 2026-11-22T14:47:45Z.


Question

should the coverage table divide by the 26,503 accepted records, the 21,522 cache index entries, or the 21,044 records our extractor accepts?

Evidence so far

PR #527 publishes per-stage Records (PS 12,101, CS 2,689, MS 9,282, VS 2,236, GS 195 = 26,503) and 849 of 12,101 PS carry a D3D12 PSO. We reproduce that total from the archive alone: 26,721 plaintext records, 218 re-detections, 26,503 records / 25,889 digests; MS 9,282 and GS 195 match ours exactly. The console cache behind it (0x10579000, 4,205 streams, 275,540,780 B) indexes 21,522 entries; our extractor accepts 21,044. The 478 gap is no longer an aliasing question: an index check (rpatty-dev/PercyStar#39) finds 21,522 unique non-zero (code_offset, code_size) spans, no aliases, no zero-size entries, and blames programs ending in s_code_end rather than s_endpgm, the terminator our model requires. Resolved since — see Details below.

Why here: each percentage in docs/experiments.md divides by one of them; if runtime lookups key off the console cache, the same coverage figure means something else, and the de-dup key moves it again. drycheetah84/TomBox#5 raised this for a second corpus; this asks for one convention here.

Completion condition

  • S1 (docs, this repo): name the three counts in docs/experiments.md, say which each table uses, give the de-dup key. Accept: python -B tests/docs_links_check.py green, and the numbers reproduce from tools/shader_profile_audit.py --llvm <lib>.
  • S2 (tool, this repo): print all three counts plus the key. Accept: ctest --preset dev --no-tests=error -R 'shader_metadata|dxcontainer_part_offsets' -V green on a source-built fixture, no archive needed.
  • S3 (drycheetah84/TomBox#5): carry the third tier into that thread as a comment.

We will do S1 if nobody claims it. Claim here or in TomBox#5.

Required environment

Windows x64 and LLVM 15 for the count run; no game files or GPU.

Details for whoever picks this up

Named records (plaintext, before the cache). At offset i, L = byte[i], p = i + L:

Field Offset Check
name i+1 .. p-1 ASCII
terminator p == 0
tag p+1 u8
csize p+2 u32, > 0
unknown p+6 u32
csize again p+10 == csize
usize p+14 u32
payload p+18 raw deflate (no zlib header)

Accept a candidate only if the payload inflates to exactly usize bytes, the output starts with DXBC, and its u32 at +24 equals usize.

Overlap rule: a candidate whose start falls inside the name of a previous record (a name byte that happens to equal its distance to the terminator) shares that record's terminator, header and payload; it is a suffix alias, so keep the earlier start. Matching end offset and 16-byte DXBC digest (container bytes 4..20) identifies it. (Corrected after ivall/xcl#34: we first said these start inside the payload.) Enumerating every candidate offset gives 26,721 accepted records, 218 of them re-detections, leaving 26,503 records and 25,889 distinct digests. The one shape this enumeration cannot see is a 3-character name, whose length byte is not part of a printable run; the shortest name in this archive is 20 bytes.

Cache index: each stream starts on a 16-byte boundary — inflate one, then advance to the next 16-byte boundary. 4,205 streams concatenate to 275,540,780 B. Page 0 begins PS\0\x09; the u32s at +80/+84/+88/+92 are 25,471 / 2,693 / 54,576 / 21,522. After a 0x80 header come 25,471 × 0x70, 2,693 × 0x18, 54,576 × 8, then 21,522 entries of 8 bytes each. We read an entry as a 4-byte offset followed by a 4-byte span, and the data pins that order down: read this way, 21,463 of the 21,522 first dwords land exactly on the 8-byte gate, matching the 21,463 gates in the code area exactly (the other 59 begin directly with the program body); the reversed reading matches nothing. Offsets are relative to a code-area base, blob length − max(offset + span) = 34,646,340, which independently equals the first record start we find. All 21,522 offsets are distinct and 16-byte aligned, and no two spans overlap. A span is an allocation size, not a program length: for the 16,559 entries that start exactly on a record we extract, it exceeds that record's span by 168–228 B (median 200).

Update on the 478: resolved. Our scan-based 21,044 was the undercount. Of the 478 entries, 419 carry the standard 8-byte gate and a normal S_ENDPGM — 407 of those end with a 20-byte S_CODE_END tail where we assumed 40 B, the other 12 carry no S_CODE_END fill at all; 58 have no gate and begin directly with the program body; 1 has no terminator. Separately, 4,485 of our records were bounded wrong at both ends. The index gives 21,522 programs and is the number to use.

Checklist

  • The task can be reproduced with public or source-built inputs.
  • I did not include game files, dumps, distribution links or credentials.

Drafted with AI assistance; numbers independently re-checked.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6543762071 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594). Originally posted by [MoonYueya](https://github.com/MoonYueya) on 2026-11-22T14:47:45Z. --- ### Question should the coverage table divide by the 26,503 accepted records, the 21,522 cache index entries, or the 21,044 records our extractor accepts? ### Evidence so far PR #527 publishes per-stage `Records` (PS 12,101, CS 2,689, MS 9,282, VS 2,236, GS 195 = 26,503) and 849 of 12,101 PS carry a D3D12 PSO. We reproduce that total from the archive alone: 26,721 plaintext records, 218 re-detections, 26,503 records / 25,889 digests; MS 9,282 and GS 195 match ours exactly. The console cache behind it (0x10579000, 4,205 streams, 275,540,780 B) indexes 21,522 entries; our extractor accepts 21,044. The 478 gap is no longer an aliasing question: an index check (rpatty-dev/PercyStar#39) finds 21,522 unique non-zero `(code_offset, code_size)` spans, no aliases, no zero-size entries, and blames programs ending in `s_code_end` rather than `s_endpgm`, the terminator our model requires. Resolved since — see Details below. **Why here**: each percentage in `docs/experiments.md` divides by one of them; if runtime lookups key off the console cache, the same coverage figure means something else, and the de-dup key moves it again. drycheetah84/TomBox#5 raised this for a second corpus; this asks for one convention here. ### Completion condition - **S1** (docs, this repo): name the three counts in `docs/experiments.md`, say which each table uses, give the de-dup key. Accept: `python -B tests/docs_links_check.py` green, and the numbers reproduce from `tools/shader_profile_audit.py --llvm <lib>`. - **S2** (tool, this repo): print all three counts plus the key. Accept: `ctest --preset dev --no-tests=error -R 'shader_metadata|dxcontainer_part_offsets' -V` green on a source-built fixture, no archive needed. - **S3** (drycheetah84/TomBox#5): carry the third tier into that thread as a comment. We will do S1 if nobody claims it. Claim here or in TomBox#5. ### Required environment Windows x64 and LLVM 15 for the count run; no game files or GPU. ### Details for whoever picks this up **Named records** (plaintext, before the cache). At offset `i`, `L = byte[i]`, `p = i + L`: | Field | Offset | Check | | --- | --- | --- | | name | `i+1 .. p-1` | ASCII | | terminator | `p` | `== 0` | | tag | `p+1` | u8 | | csize | `p+2` | u32, `> 0` | | unknown | `p+6` | u32 | | csize again | `p+10` | `== csize` | | usize | `p+14` | u32 | | payload | `p+18` | raw deflate (no zlib header) | Accept a candidate only if the payload inflates to exactly `usize` bytes, the output starts with `DXBC`, and its u32 at +24 equals `usize`. **Overlap rule**: a candidate whose start falls inside the *name* of a previous record (a name byte that happens to equal its distance to the terminator) shares that record's terminator, header and payload; it is a suffix alias, so keep the earlier start. Matching end offset and 16-byte DXBC digest (container bytes 4..20) identifies it. (Corrected after ivall/xcl#34: we first said these start inside the payload.) Enumerating every candidate offset gives 26,721 accepted records, 218 of them re-detections, leaving 26,503 records and 25,889 distinct digests. The one shape this enumeration cannot see is a 3-character name, whose length byte is not part of a printable run; the shortest name in this archive is 20 bytes. **Cache index**: each stream starts on a 16-byte boundary — inflate one, then advance to the next 16-byte boundary. 4,205 streams concatenate to 275,540,780 B. Page 0 begins `PS\0\x09`; the u32s at +80/+84/+88/+92 are 25,471 / 2,693 / 54,576 / 21,522. After a 0x80 header come 25,471 × 0x70, 2,693 × 0x18, 54,576 × 8, then 21,522 entries of 8 bytes each. We read an entry as a 4-byte offset followed by a 4-byte span, and the data pins that order down: read this way, 21,463 of the 21,522 first dwords land exactly on the 8-byte gate, matching the 21,463 gates in the code area exactly (the other 59 begin directly with the program body); the reversed reading matches nothing. Offsets are relative to a code-area base, blob length − max(offset + span) = 34,646,340, which independently equals the first record start we find. All 21,522 offsets are distinct and 16-byte aligned, and no two spans overlap. A span is an allocation size, not a program length: for the 16,559 entries that start exactly on a record we extract, it exceeds that record's span by 168–228 B (median 200). **Update on the 478**: resolved. Our scan-based 21,044 was the undercount. Of the 478 entries, 419 carry the standard 8-byte gate and a normal `S_ENDPGM` — 407 of those end with a 20-byte `S_CODE_END` tail where we assumed 40 B, the other 12 carry no `S_CODE_END` fill at all; 58 have no gate and begin directly with the program body; 1 has no terminator. Separately, 4,485 of our records were bounded wrong at both ends. The index gives 21,522 programs and is the number to use. ### Checklist - [x] The task can be reproduced with public or source-built inputs. - [x] I did not include game files, dumps, distribution links or credentials. Drafted with AI assistance; numbers independently re-checked.
R0Y00 commented 2026-11-24 06:48:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T15:14:54Z.


Keep the existing profile coverage denominator at 26,503 accepted archive records, with the per-stage counts for per-stage percentages. shader_profile_audit.py counts those records and caches classification by full-container SHA-256. The 25,889 distinct DXBC header digests and the 21,522 cache-index entries measure different populations; report each with its own source and key. Describe 21,044 as the earlier extractor result and record why it was revised. A docs PR can clarify those distinctions now. For a tool change, please use a source-built fixture where record count, distinct digest count and cache-index count deliberately differ, and keep the archive audit’s existing output semantics.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7081157150 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594#issuecomment-7081157150). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-22T15:14:54Z. --- Keep the existing profile coverage denominator at 26,503 accepted archive records, with the per-stage counts for per-stage percentages. `shader_profile_audit.py` counts those records and caches classification by full-container SHA-256. The 25,889 distinct DXBC header digests and the 21,522 cache-index entries measure different populations; report each with its own source and key. Describe 21,044 as the earlier extractor result and record why it was revised. A docs PR can clarify those distinctions now. For a tool change, please use a source-built fixture where record count, distinct digest count and cache-index count deliberately differ, and keep the archive audit’s existing output semantics.
MoonYueya commented 2026-11-24 06:48:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by MoonYueya on 2026-11-22T16:12:39Z.


Thanks, that's clear: denominator stays at 26,503, each other count gets its own source and key, and 21,044 is described as the earlier extractor result together with the reason it was revised. We'll send the docs-only PR. One correction is going into it: the 218 re-detections are suffix aliases that start inside the previous record's name, not inside its payload (ivall/xcl#34), and the Details above now say so.

Drafted with AI assistance.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7081898003 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594#issuecomment-7081898003). Originally posted by [MoonYueya](https://github.com/MoonYueya) on 2026-11-22T16:12:39Z. --- Thanks, that's clear: denominator stays at 26,503, each other count gets its own source and key, and 21,044 is described as the earlier extractor result together with the reason it was revised. We'll send the docs-only PR. One correction is going into it: the 218 re-detections are suffix aliases that start inside the previous record's name, not inside its payload (ivall/xcl#34), and the Details above now say so. Drafted with AI assistance.
MoonYueya commented 2026-11-24 06:48:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by MoonYueya on 2026-11-22T16:20:55Z.


The docs-only PR is up as #625: three counts, each with its own source and key; the 26,503 denominator is unchanged; and 21,044 is shown as the earlier extractor result together with the reason it was revised.

Drafted with AI assistance.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7082004114 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594#issuecomment-7082004114). Originally posted by [MoonYueya](https://github.com/MoonYueya) on 2026-11-22T16:20:55Z. --- The docs-only PR is up as #625: three counts, each with its own source and key; the 26,503 denominator is unchanged; and 21,044 is shown as the earlier extractor result together with the reason it was revised. Drafted with AI assistance.
R0Y00 commented 2026-11-24 06:48:42 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T19:15:39Z.


The documentation portion (S1) is now on main in #625. The profile denominator remains 26,503 accepted archive records. The independent digest count and cache-index count have their own definitions. Leaving this issue open for the tool-side accounting and its source-built differential fixture.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7084246855 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594#issuecomment-7084246855). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-22T19:15:39Z. --- The documentation portion (S1) is now on main in #625. The profile denominator remains 26,503 accepted archive records. The independent digest count and cache-index count have their own definitions. Leaving this issue open for the tool-side accounting and its source-built differential fixture.
R0Y00 commented 2026-11-24 06:48:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T21:12:53Z.


S2 landed in #617. The source-built control distinguishes four accepted archive records, two DXBC header digests, three full-container SHA-256 keys and five cache-index entries. Both Windows jobs and the Linux checks passed. The repository work for S1 and S2 is complete; the separate upstream discussion follow-up remains open.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7085876591 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594#issuecomment-7085876591). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-22T21:12:53Z. --- S2 landed in #617. The source-built control distinguishes four accepted archive records, two DXBC header digests, three full-container SHA-256 keys and five cache-index entries. Both Windows jobs and the Linux checks passed. The repository work for S1 and S2 is complete; the separate upstream discussion follow-up remains open.
MoonYueya commented 2026-11-24 06:49:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by MoonYueya on 2026-11-23T17:25:50Z.


Closing the loop from our end. S1 is on main in #625 (merged 2026-11-22T19:14Z): the three counts are named, each with its own source and de-duplication key, and the profile denominator stays at the 26,503 accepted archive records. S2 is on main in #617 (merged 2026-11-22T21:11Z), with the source-built control that separates four accepted archive records, two DXBC header digests, three full-container SHA-256 keys and five cache-index entries. So both repository stages are done, and the numbers this issue asked to keep apart are 26,503 accepted archive records, 21,522 cache-index entries and 21,044 records the extractor accepts.

The one piece still open is S3, carrying the third tier into drycheetah84/TomBox#5 as a comment. That is your upstream follow-up, so we are not posting there unless you ask us to.

If the tiers shift again, those three counts and the key behind each are what we would re-check.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7108645493 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594#issuecomment-7108645493). Originally posted by [MoonYueya](https://github.com/MoonYueya) on 2026-11-23T17:25:50Z. --- Closing the loop from our end. S1 is on main in #625 (merged 2026-11-22T19:14Z): the three counts are named, each with its own source and de-duplication key, and the profile denominator stays at the 26,503 accepted archive records. S2 is on main in #617 (merged 2026-11-22T21:11Z), with the source-built control that separates four accepted archive records, two DXBC header digests, three full-container SHA-256 keys and five cache-index entries. So both repository stages are done, and the numbers this issue asked to keep apart are 26,503 accepted archive records, 21,522 cache-index entries and 21,044 records the extractor accepts. The one piece still open is S3, carrying the third tier into drycheetah84/TomBox#5 as a comment. That is your upstream follow-up, so we are not posting there unless you ask us to. If the tiers shift again, those three counts and the key behind each are what we would re-check. _AI-assisted._
cobrajet302gt commented 2026-11-24 06:50:13 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-24T03:23:17Z.


I'll take S1 + S2 from this Linux box: name the three counts in docs/experiments.md with the de-dup key, and extend the tool so shader_profile_audit.py/the census path print all three plus the key. Environment: CachyOS x64, Python 3.14.9; the two acceptance registrations (shader_metadata_census, dxcontainer_part_offsets) wrap Python scripts, which I can run directly here; I'll cite the ctest form and let the CI job confirm it. Shared interfaces I expect to touch: docs/experiments.md coverage lines, tools/shader_profile_audit.py, and tools/shader_census.py if the key printing belongs there — flagging so anyone already in those files can agree which lands first. Plan: read the census/audit paths, reproduce the three counts from the source-built fixtures first, then draft the convention paragraph for review before opening the PR.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7121040453 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594#issuecomment-7121040453). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-24T03:23:17Z. --- I'll take S1 + S2 from this Linux box: name the three counts in `docs/experiments.md` with the de-dup key, and extend the tool so `shader_profile_audit.py`/the census path print all three plus the key. Environment: CachyOS x64, Python 3.14.9; the two acceptance registrations (`shader_metadata_census`, `dxcontainer_part_offsets`) wrap Python scripts, which I can run directly here; I'll cite the ctest form and let the CI job confirm it. Shared interfaces I expect to touch: `docs/experiments.md` coverage lines, `tools/shader_profile_audit.py`, and `tools/shader_census.py` if the key printing belongs there — flagging so anyone already in those files can agree which lands first. Plan: read the census/audit paths, reproduce the three counts from the source-built fixtures first, then draft the convention paragraph for review before opening the PR.
cobrajet302gt commented 2026-11-24 06:50:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-24T03:38:22Z.


Follow-up from the claim here: S1 and S2 merged ahead of our work landing, so the contribution we can make on this issue is the thing drycheetah84/TomBox#5 originally raised — a second-corpus census. Ran it; the archive tier reproduces digit-for-digit.

Independently supplied second local installation (Scarlett-format package), Linux x64 (CachyOS, Python 3.14.9), commit a7539075:

$ python -B tools/shader_census.py game-files/shaders.rpf
  • Accepted archive records: 26,503, per stage PS 12,101 / CS 2,689 / MS 9,282 / VS 2,236 / GS 195 — each stage count matches the published figures exactly.
  • DXBC header digests: 25,889 — matches the published pairing.
  • Full-container SHA-256 keys: 25,889. New second-corpus fact: the strict key equals the digest count, so all 614 re-detections over the accepted records are byte-identical containers — the 16-byte digest hides no differing container at this tier.
  • Candidate rejections during enumeration: 303 unequal_stored_lengths, 1 deflate_error.

Reading for the denominator question: the coverage denominator (26,503 accepted archive records) and its digest pairing are stable across independently obtained copies of the retail shader set, and at this tier the SHA-256 key never splits where the digest collides. So the chosen convention means the same thing on a second corpus.

Cache-index tier not reproduced here: it needs a decoded PS/9 cache blob from this installation, and the decode-from-package path doesn't currently ship as a standalone tool. Say the word if the sub-thread wants that second 21,522-side number and I'll chase the decode.

No game files, dumps, or distribution links. Method is the census tool unchanged on this host. AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7121283518 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594#issuecomment-7121283518). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-24T03:38:22Z. --- Follow-up from the claim here: S1 and S2 merged ahead of our work landing, so the contribution we can make on this issue is the thing drycheetah84/TomBox#5 originally raised — a **second-corpus census**. Ran it; the archive tier reproduces digit-for-digit. Independently supplied second local installation (Scarlett-format package), Linux x64 (CachyOS, Python 3.14.9), commit `a7539075`: ``` $ python -B tools/shader_census.py game-files/shaders.rpf ``` - **Accepted archive records: 26,503**, per stage PS 12,101 / CS 2,689 / MS 9,282 / VS 2,236 / GS 195 — each stage count matches the published figures exactly. - **DXBC header digests: 25,889** — matches the published pairing. - **Full-container SHA-256 keys: 25,889.** New second-corpus fact: the strict key equals the digest count, so all 614 re-detections over the accepted records are byte-identical containers — the 16-byte digest hides no differing container at this tier. - Candidate rejections during enumeration: 303 `unequal_stored_lengths`, 1 `deflate_error`. Reading for the denominator question: the coverage denominator (26,503 accepted archive records) and its digest pairing are stable across independently obtained copies of the retail shader set, and at this tier the SHA-256 key never splits where the digest collides. So the chosen convention means the same thing on a second corpus. **Cache-index tier not reproduced here:** it needs a decoded PS/9 cache blob from this installation, and the decode-from-package path doesn't currently ship as a standalone tool. Say the word if the sub-thread wants that second 21,522-side number and I'll chase the decode. No game files, dumps, or distribution links. Method is the census tool unchanged on this host. _AI-assisted._
cobrajet302gt commented 2026-11-25 12:01:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-25T11:33:35Z.


Follow-up from the second-corpus claim above: we have published the row-level dataset behind our census-side numbers, so the scene can query it instead of taking headline counts on faith — cobrajet302gt/gta6-shader-census (public domain).

  • `data/corpus_labels.jsonl`: 25,889 unique programs (de-dup key = FSSM DXBC header digest), labeled `stage / fssm_size / occurrences / user_sgprs / wave`. Recomputable aggregates: pixel 12,056 · mesh 8,765 · compute 2,682 · vertex 2,191 · geometry 195; 23,235 wave64 / 2,654 wave32 (1,531 compute + 1,123 pixel); 1,151 wave64 compute.
  • `data/census_corpus2.json`: the second-corpus reproduction artifact from our comment above (26,503 accepted records).
  • `tools/corpus_label.py`: stdlib-only producer, takes the archive path directly.

Scope, stated up front so nobody over-reads it: these are program-property labels with no control-flow bits — they bound refusal classes (the 746 group-shape and 1,151 wave64-compute ceilings) but do not enumerate control-flow or addressing classes; that needs DXIL parsing. Coverage of the non-FSSM (DXBC-payload) fallback path is disclosed in #578 and not claimed complete. Only digests/sizes/labels are published — no game files.

Written with an AI assistant.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7161204138 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/594#issuecomment-7161204138). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-25T11:33:35Z. --- Follow-up from the second-corpus claim above: we have published the row-level dataset behind our census-side numbers, so the scene can query it instead of taking headline counts on faith — cobrajet302gt/gta6-shader-census (public domain). - \`data/corpus_labels.jsonl\`: 25,889 unique programs (de-dup key = FSSM DXBC header digest), labeled \`stage / fssm_size / occurrences / user_sgprs / wave\`. Recomputable aggregates: pixel 12,056 · mesh 8,765 · compute 2,682 · vertex 2,191 · geometry 195; 23,235 wave64 / 2,654 wave32 (1,531 compute + 1,123 pixel); 1,151 wave64 compute. - \`data/census_corpus2.json\`: the second-corpus reproduction artifact from our comment above (26,503 accepted records). - \`tools/corpus_label.py\`: stdlib-only producer, takes the archive path directly. Scope, stated up front so nobody over-reads it: these are program-property labels with no control-flow bits — they bound refusal classes (the 746 group-shape and 1,151 wave64-compute ceilings) but do not enumerate control-flow or addressing classes; that needs DXIL parsing. Coverage of the non-FSSM (DXBC-payload) fallback path is disclosed in #578 and not claimed complete. Only digests/sizes/labels are published — no game files. Written with an AI assistant.
Sign in to join this conversation.
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
R0Y00/Xbox2Windows#588
No description provided.