Skip to content

gpu: share render-target tracking between translated SRV and UAV checks - #2707

Closed
R0Y00 wants to merge 1 commit into
mainfrom
codex/share-render-target-tracking
Closed

R0Y00 wants to merge 1 commit into
mainfrom
codex/share-render-target-tracking

Conversation

@R0Y00

@R0Y00 R0Y00 commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Change

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.

cmake --build --preset release --target startup_indirect_draw_indexed startup_stream_consumer d3d12_xs_device_obj
ctest --preset release --no-tests=error -R '^startup_(indirect_(draw_indexed|translated_targets)|pixel_uav)_(warp|hardware)$' -V

@R0Y00
R0Y00 requested review from MasterDomino and tedin7 November 26, 2026 02:57
@R0Y00

R0Y00 commented Nov 26, 2026

Copy link
Copy Markdown
Owner Author

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.

@R0Y00 R0Y00 closed this Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant