Translate two-table depth-only pixel shaders and verify swapped CBVs #486
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/492"
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-22T07:14:59Z.
Scope
Translate a bounded depth-only PS with two independently bound descriptor tables through the native container entry and LLVM 15. Track the provenance of the descriptor address, the four descriptor words, scalar memory completion and both EXEC-controlled exits. The caller supplies the binding convention.
Verification
python3 -B tests/depth_mask_check.py binary llvm-mc-15 llvm-objcopy-15 libLLVM-15.so.1passed with the source-built fixture and its binding, branch and wait rejection controls.ctest --preset dev --no-tests=error -R "^depth_mask_draw_" -Vpassed on hardware and WARP. The positive fixture changes each CB independently and physically swaps both roots. Comparing the swapped draw against the original oracle must fail specifically at the depth readback.Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-22T07:52:13Z.
Independent Windows 10 check of the source-built depth fixture from #492 at
a8b130donmain.Both CTests passed. On each adapter all four positive draws matched 1,024 depth pixels exactly, including the physically swapped CBVs with the swapped reference. The negative comparison of the same swap against the original reference reported 384 mismatches on both adapters. The D3D12 debug layer was enabled and reported zero errors or warnings across all ten draws.
AI-assisted.