GPU: compose BGRX scene planes with an RGBA overlay #1265
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1265"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by ghptc on 2026-11-28T16:45:37Z.
Two-plane presentation checks both resources with
compose::view. The list of supported formats omitted B8G8R8X8, so a sampleable BGRX scene with an RGBA overlay could never reach the compositor. A BGRX base also has no single-plane swap format in the current fallback.This change selects UNORM for typeless BGRX and preserves the typed UNORM and sRGB views. The existing single-sample, 2D, single-slice and shader-resource checks still apply.
The generated graphics regression clears a BGRX base, overlays transparent, half-green and opaque blue pixels, and checks the final RGBA readback. With the new test on main at
9ce3cf9, the production view selector rejected the actual device resource. With the patch on the same RTX 5070 under VKD3D-Proton, the three pixels were (127,0,0,255), (64,127,0,255) and (0,0,255,255). A second test checks the typed and typeless view choices. Both focused tests passed in a capped service.DXGI format support