gpu: verify texture reuse across three EXE-driven draws #699
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/705"
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 RonLogic on 2026-11-22T21:27:54Z.
Change
Refs #218, #560, #658 and #682. Brings the two-frame draft onto upstream after its dependencies merged. The source-built shim EXE drives three draws using one D3D12 device, direct queue and 2×2 texture. Compute initializes all four texels, then updates one in place. The third draw reuses the same SRV with a second pipeline that swaps red and blue. The EXE publishes each fence-waited readback for exact comparison through native Windows,
pe_map, and AOT.The control skips the partial dispatch. It must report the first mismatch at stage 2, pixel (24, 8), with expected RGBA (255, 0, 255, 255) and actual (0, 255, 0, 255). Full-frame references cover the three untouched texels and the third draw. The persistent draw modes use 6–13 so #682 keeps its existing modes 3–5.
Verification
Tested
4e956b7on base343a3a4using Windows 11 build 26300.9974, RTX 4070 and WARP. All 13 selected tests passed in Debug and all 13 passed in Release, with no skips. This includes the merged shim chain and compute-to-mesh texture regressions on both adapters. The new EXE fixture does not request the D3D12 debug layer.The fixtures use source-built synthetic shaders and data under the project's MIT license.
Developed with Codex.