tooling: report PSO readiness from shader manifests #259

Manually merged
github merged 2 commits from gh-pr/259/head into gh-pr/259/base 2026-11-26 21:38:12 +00:00
Owner

@⁠RonLogic on GitHub · 2026-11-21 19:36 UTC · original
RonLogic:tooling/pso-readiness → main · +304 −0 · 7 files · 2 commits · merged 2026-11-21 19:58 UTC

Adds a PSO report that joins explicit pipeline stage references against the native SHA-256 and stage in extract_shaders.py manifests. It counts archive records and unique stage/hash pairs separately and reports the first known blocker per pipeline. The root-signature field describes the effective signature after accounting for caller-supplied signatures. Unassessed stages and missing references remain evidence gaps. Passing pixel lowering leaves the pipeline awaiting PSO validation.

The experimental scope is explicit metadata and source-built shaders. The input schema is documented in docs/experiments.md. The optional LLVM pixel probe reuses pixel_aot.disassemble and analyze_shader_instructions from the scanner. This complements the shader-level dashboard in #241 and the DXIL container work in #250 without depending on either PR.

The source-built WARP control uses the compute fixture with its root signature stripped. D3D12 returned 0x80070057 with no signature and 0x00000000 for the same bytecode with the matching signature supplied. The report test uses synthetic references and stubs the LLVM boundary while exercising the existing scanner and lowerer. It includes a mismatched native hash control.

Windows x64 verification at 0289252:

ctest --test-dir out/build/followup --no-tests=error -R '^(pso_|rdna2_tools_check$|pixel_aot_(warp|hardware)$)' -V
python -B tests/docs_links_check.py

All five CTest entries passed, including pixel readback on WARP and RTX 4070. The RDNA 2 suite reported one internal optional LLVM skip. The documentation check passed.

**@⁠RonLogic** on GitHub · 2026-11-21 19:36 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/259) `RonLogic:tooling/pso-readiness` → `main` · +304 −0 · 7 files · 2 commits · merged 2026-11-21 19:58 UTC Adds a PSO report that joins explicit pipeline stage references against the native SHA-256 and stage in `extract_shaders.py` manifests. It counts archive records and unique stage/hash pairs separately and reports the first known blocker per pipeline. The root-signature field describes the effective signature after accounting for caller-supplied signatures. Unassessed stages and missing references remain evidence gaps. Passing pixel lowering leaves the pipeline awaiting PSO validation. The experimental scope is explicit metadata and source-built shaders. The input schema is documented in `docs/experiments.md`. The optional LLVM pixel probe reuses `pixel_aot.disassemble` and `analyze_shader_instructions` from the scanner. This complements the shader-level dashboard in #241 and the DXIL container work in #250 without depending on either PR. The source-built WARP control uses the compute fixture with its root signature stripped. D3D12 returned `0x80070057` with no signature and `0x00000000` for the same bytecode with the matching signature supplied. The report test uses synthetic references and stubs the LLVM boundary while exercising the existing scanner and lowerer. It includes a mismatched native hash control. Windows x64 verification at `0289252`: ```powershell ctest --test-dir out/build/followup --no-tests=error -R '^(pso_|rdna2_tools_check$|pixel_aot_(warp|hardware)$)' -V python -B tests/docs_links_check.py ``` All five CTest entries passed, including pixel readback on WARP and RTX 4070. The RDNA 2 suite reported one internal optional LLVM skip. The documentation check passed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:38:10 +00:00
github manually merged commit 49a9a86ed4 into gh-pr/259/base 2026-11-26 21:38:12 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.