gpu: share render-target tracking between translated SRV and UAV checks #2707
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!2707
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2707/head"
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?
@R0Y00 on GitHub · 2026-11-26 02:57 UTC · original
R0Y00:codex/share-render-target-tracking→main· +1 −5 · 1 files · 1 commits · closed without mergingChange
Keep one set of bound color and depth resources after the integration of #2448 and #2417. Each successful bind records the resources once, and each new bind still clears the previous state. Both translated draw attachment validation and pixel UAV alias checks continue to use the same tracking.
The duplicate members on main cause MSVC C2086. The Windows logs for #2454 and #2704 show both failing declarations before tests start.
Validation
Windows Release compiled both D3D12 targets and passed all 6 CTests on WARP and RTX 4060 Laptop (driver 32.0.16.1656), zero skips. The two attachment tests verified MRT, color plus DSV, depth-only samples, and the expected no-attachment and sampled-RTV refusals. Both pixel UAV tests kept their alias refusals and wrong-EXEC control.
@R0Y00 on GitHub · 2026-11-26 03:11 UTC · original
Superseded by #2706. I verified that main now has one shared set of color and depth members and that the duplicate declarations causing C2086 are gone.
Pull request closed