startup: preserve explicit pixel depth exports #1755
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1762"
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-24T18:12:57Z.
Refs #1430.
Lower a single uncompressed
exp mrtz vN, off, off, offin a straight-line pixel shader with its entry execution mask toSV_Depth. Color exports retain theirSV_Targetoutputs. The existing stream fixture now checks three source-built variants using the same green and red triangles. The original vertex-depth path and an explicit depth of 0.125 leave all 16 covered pixels green. Changing only the explicit depth to 0.875 makes red win all 16. Every variant checks the clear pixels and the existing DSV controls.Verification
Commit
cada2606, Windows 11 25H2 build 26200.9974, MSVC 19.51.36244.0, FXC from SDK 10.0.26100.0. The depth fixture ran with the D3D12 debug layer enabled on Microsoft Basic Render Driver 10.0.26100.9818 (WARP) and NVIDIA GeForce RTX 4060 Laptop GPU 32.0.16.1656.All 8 CTests passed, with zero skips. Link, bidi, and whitespace checks passed.