Repository navigation
Conversation
The internal presenter uses the same hooked device as the title. An RTV for its swap-chain back buffer therefore acquired an extra COM reference in the title tracking table, which prevents DXGI from resizing the buffers. Skip both tracking hooks during presentation and test that ordinary title bindings are preserved. Assisted-by: OpenAI Codex (GPT-6)
…#2127, xcl-dev#2476, xcl-dev#2479, xcl-dev#2467, xcl-dev#2444, xcl-dev#2447, xcl-dev#2448 Integrates compositor RT tracking fix (xcl-dev#2480), split shader cache budget (xcl-dev#2475), foreign-thread deferred release (xcl-dev#2474), Wine 4-thread DXC cap (xcl-dev#2127), DXIL feature/reload fixes (xcl-dev#2476, xcl-dev#2479), DXC loader cleanup (xcl-dev#2467), console xcl-dev#14 null ppv guard (xcl-dev#2444), root-sig flag stripping (xcl-dev#2447), and two-pass stream canonicalization (xcl-dev#2448). Assisted-by: Antigravity (Gemini 4 Neon)
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
bmjask
left a comment
There was a problem hiding this comment.
No source-level blocker found. IN_PRESENT is set before compositor recording, so compositor RTV/binding operations bypass title tracking while title operations outside presentation remain tracked; current CI and smoke evidence are green. The important remaining validation gap is an actual swap-chain ResizeBuffers exercise after multi-plane composition, the user-visible failure this prevents. The hook-level test does not cover that end-to-end path.
|
|
The presenter creates its render-target view through the same hooked D3D12 device as the title. Tracking that view adds a COM reference to the swap-chain back buffer that can prevent DXGI from resizing the buffers. Addresses the back-buffer reference in #2456. The sRGB format question in that issue remains open.
What is in it
The RTV creation and binding hooks skip title tracking during the presenter's own work. A regression test checks that the title's render target stays registered and bound while the compositor's handle stays out of both tables.
Tested
cargo test -p xcl --lib compositor_render_targets_stay_out_of_title_trackingfailed before the fix because both handles appeared in the table. On7400291it passed.cargo build --workspacesucceeded.cargo test --workspace --no-fail-fast -- --test-threads=4reported 1414 passed, 0 failed, 46 ignored. The 29 SKIPPED messages covered wave64, unsupported direct-DXIL cases, heap windows, D3D12 debug layers and the driver cache setting that requires Developer Mode. The harness includes skipped cases in its pass count.Regression run
main:
this PR:
Not tested
The 60-second retail run did not specifically exercise a swap-chain resize after multi-plane composition. The unit test covers the references held by the tracking hooks.
AI use
OpenAI Codex (GPT-6) verified the tracking path, wrote the change and its regression test, ran the test suite and both smoke runs, and drafted this description.