tooling: census Mesh86 and pixel refusals #3942

Closed
opened 2026-12-03 14:31:59 +00:00 by github-bot · 2 comments
Owner

@⁠lambirou on GitHub · 2026-12-03 14:31 UTC · original

Part of #3705. Refs #3816, #3643.

Change

  • Classify a .ps86-only cache as mesh86-pixel in refusal_census.py. A paired .m86 request continues to classify as mesh86.
  • Extend the Markdown stage table with request, refused, translated and unknown totals so zero-weight refusals remain visible.
  • Add --compare-cache to compare normalized first-refusal outcomes key by key for two paired caches. The report includes before-only and after-only key counts, per-stage refusal totals and transitions to a compiled output.
  • Treat (translated) as a claim that requires a non-empty compiled output. A request with neither a refusal nor an output is (unknown / no result evidence).
  • Add a PowerShell driver that stages a fixed key file, compiles mesh and pixel stages separately with compile_dxil, runs the combined request through mesh86_translate.py, and invokes refusal_census.py for all three views. Generated captures and reports stay under out/.
  • Document the immutable single-run corpus requirement and exact before/after procedure.

No full before/after count is claimed for current main. The local cache has 17,930 .m86 and .ps86 requests but no manifest tying them to one run, and its mutable .fail files cannot recover the original 6,436 pixel-stage set or 24-key scene subset. The last published counts remain 548/6,436 pixel stages at 9dfe168a0 and 2,063/6,685 mesh programs at 368a045df.

At the last published pixel census, the 24 Mesh86 pixel partners stopped at L2, unsupported wave64 scalar mask operation. #3920 merged that lowering at 353503b0b and its PR records the census delta as unmeasured. The next full-corpus refusal is unknown until the paired capture is rerun, so this PR proposes no follow-up shader task.

Verification

Check Result
tests/startup_refusal_census_check.py 9 passed
tests/docs_links_check.py 284 Markdown files, 1,007 links
PowerShell parser pass
git diff --check origin/main...HEAD clean
One-request smoke through mesh86_pixel_census.ps1 exit 0; mesh translated, pixel and pair refused

The synthetic census test checks distinct compute, graphics and mesh86-pixel stages, zero-weight keys, one-side-only keys, translated outcomes, a ds_* instruction to (translated) transition, and a request-only negative control that must stay unknown. The smoke test is a command-path check and does not claim a pass rate.

.\out\pe-env\Scripts\python.exe -B tests\startup_refusal_census_check.py
.\out\pe-env\Scripts\python.exe -B tests\docs_links_check.py
git diff --check origin/main...HEAD

Limits

The 6,436-stage capture and key manifest were unavailable as immutable inputs. The local .fail set had been rewritten by later translator runs. The locally installed DXC is 1.8.2502.11, while #3920 recorded DXC 1.9.2602.17. No game or SDK file, shader container, raw log or private request key is included.

AI-assisted.

Pull request details or commits were not available from GitHub; kept as an issue.

**@⁠lambirou** on GitHub · 2026-12-03 14:31 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3940) Part of #3705. Refs #3816, #3643. ## Change - Classify a `.ps86`-only cache as `mesh86-pixel` in `refusal_census.py`. A paired `.m86` request continues to classify as `mesh86`. - Extend the Markdown stage table with request, refused, translated and unknown totals so zero-weight refusals remain visible. - Add `--compare-cache` to compare normalized first-refusal outcomes key by key for two paired caches. The report includes before-only and after-only key counts, per-stage refusal totals and transitions to a compiled output. - Treat `(translated)` as a claim that requires a non-empty compiled output. A request with neither a refusal nor an output is `(unknown / no result evidence)`. - Add a PowerShell driver that stages a fixed key file, compiles mesh and pixel stages separately with `compile_dxil`, runs the combined request through `mesh86_translate.py`, and invokes `refusal_census.py` for all three views. Generated captures and reports stay under `out/`. - Document the immutable single-run corpus requirement and exact before/after procedure. No full before/after count is claimed for current `main`. The local cache has 17,930 `.m86` and `.ps86` requests but no manifest tying them to one run, and its mutable `.fail` files cannot recover the original 6,436 pixel-stage set or 24-key scene subset. The last published counts remain 548/6,436 pixel stages at `9dfe168a0` and 2,063/6,685 mesh programs at `368a045df`. At the last published pixel census, the 24 Mesh86 pixel partners stopped at L2, `unsupported wave64 scalar mask operation`. #3920 merged that lowering at `353503b0b` and its PR records the census delta as unmeasured. The next full-corpus refusal is unknown until the paired capture is rerun, so this PR proposes no follow-up shader task. ## Verification | Check | Result | |---|---:| | `tests/startup_refusal_census_check.py` | 9 passed | | `tests/docs_links_check.py` | 284 Markdown files, 1,007 links | | PowerShell parser | pass | | `git diff --check origin/main...HEAD` | clean | | One-request smoke through `mesh86_pixel_census.ps1` | exit 0; mesh translated, pixel and pair refused | The synthetic census test checks distinct `compute`, `graphics` and `mesh86-pixel` stages, zero-weight keys, one-side-only keys, translated outcomes, a `ds_* instruction` to `(translated)` transition, and a request-only negative control that must stay unknown. The smoke test is a command-path check and does not claim a pass rate. ```powershell .\out\pe-env\Scripts\python.exe -B tests\startup_refusal_census_check.py .\out\pe-env\Scripts\python.exe -B tests\docs_links_check.py git diff --check origin/main...HEAD ``` ## Limits The 6,436-stage capture and key manifest were unavailable as immutable inputs. The local `.fail` set had been rewritten by later translator runs. The locally installed DXC is 1.8.2502.11, while #3920 recorded DXC 1.9.2602.17. No game or SDK file, shader container, raw log or private request key is included. AI-assisted. *Pull request details or commits were not available from GitHub; kept as an issue.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 14:31:59 +00:00
Author
Owner

@⁠lambirou on GitHub · 2026-12-03 14:43 UTC · original

Addressed in 69f7ca23: a refused key still requires .fail; (translated) now requires a non-empty compiled output; a request with neither is reported as (unknown / no result evidence). Added the request-only negative control, while preserving one-side-only counts. Targeted tests: 9 passed; docs links: 284 files / 1,007 links; PowerShell parse and git diff --check clean.

**@⁠lambirou** on GitHub · 2026-12-03 14:43 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3940#issuecomment-7381909603) Addressed in 69f7ca23: a refused key still requires .fail; (translated) now requires a non-empty compiled output; a request with neither is reported as (unknown / no result evidence). Added the request-only negative control, while preserving one-side-only counts. Targeted tests: 9 passed; docs links: 284 files / 1,007 links; PowerShell parse and git diff --check clean.
Author
Owner

@⁠lambirou on GitHub · 2026-12-03 15:07 UTC · original

Updated in 2974a308: extracted
equest_complete and made pending_keys use it. Paired comparison now requires the ready .mesh86.txt plus every expected stage, so the exact full request + K.ms.cso-only case remains unknown. Standalone stage caches still use their single K.cso. Added partial-pair and complete-pair comparison tests. 11 targeted tests and docs-link checks pass; CI rerunning.

**@⁠lambirou** on GitHub · 2026-12-03 15:07 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3940#issuecomment-7382591201) Updated in 2974a308: extracted equest_complete and made pending_keys use it. Paired comparison now requires the ready .mesh86.txt plus every expected stage, so the exact full request + K.ms.cso-only case remains unknown. Standalone stage caches still use their single K.cso. Added partial-pair and complete-pair comparison tests. 11 targeted tests and docs-link checks pass; CI rerunning.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#3942
No description provided.