GPU: compose BGRX scene planes with an RGBA overlay #1265
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1265
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@ghptc on GitHub · 2026-11-28 16:45 UTC · original
ghptc:fix/bgrx-display-planes→main· +44 −7 · 1 files · 1 commits · merged 2026-11-29 08:16 UTCTwo-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