shader: export signed compute DXIL by input digest #1035
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1042"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T22:38:24Z.
Refs #874.
Adds an optional
--catalogue-dirto the existing signed PE scan. It exports each validated desktop compute DXIL container with an embedded root signature under the SHA-256 of its input bytes. The signed artefact is written atomically. The existing report and--output-dirbehavior are preserved when the option is absent.python -B tests/dxil_retarget_check.pypassed on Windows. The controls check the file contents and digest, and verify that unsigned, rootless, gate-rejected and module-validation-failed containers produce no export.dxil_retarget.py --pe fixture.dll --sign --probe root_probe.exe --catalogue-dir catalogue --report report.jsonon a synthetic PE embedding the source-builtcompute_root.csowith Xbox metadata injected. The mapped entry passed both validation checks, was signed and exported once under the expected digest. A second copy in the unmapped overlay was ignored.