Repository navigation
Conversation
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
XCL PR #1619 focused Windows verificationTested head Tested
Not tested Coverage was limited to full-workspace compilation and the focused PR test. The full GPU workspace suite, real D3D12 pipeline creation and retail-title smoke runs were omitted. AI use T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against |
|
Independent Windows run on 8cc8b6c. Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti (621.35), Rust 1.99.1 MSVC, DXC 1.8.2502.11.
With the D3D12 debug layer enabled and asynchronous PSO creation off, the scratch fixture verified that XCL kept its own root-signature reference. After dropping the caller's reference, both
AI use: Codex (GPT-6, exact variant unspecified) wrote the scratch fixture, ran the tests and drafted this report. |
3aa4690 to
717b198
Compare
|
Rebased onto
Tested (CPU only, no GPU touched; debug build, Windows 11)
Not tested
AI use: Claude Code (Claude Sonnet 5.5): resolved the rebase conflict and ran the build and test above. |
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
717b198 to
cec364b
Compare
|
Rebased onto current Tested (CPU/WARP only, AI use: Claude Code, Claude Sonnet 5.5 (rebase and targeted test run). |
device_x::note_base copied the raw D3D12_GRAPHICS_PIPELINE_STATE_DESC bytes into BASES without retaining pRootSignature. In D3D12 a title may release a root signature right after CreateGraphicsPipelineState; later calls to CreateDerivedPipelineStateX or the RSSetDepthBiasX patched-PSO fallback would then pass a dangling pointer into CreateGraphicsPipelineState. Retain a non-null pRootSignature via ID3D12RootSignature::from_raw_borrowed().cloned() inside Base and drop replaced or removed Base entries outside the BASES mutex lock. Part of xcl-dev#1488 (XCL-BT-005). Assisted-by: Antigravity (Gemini 4 Neon) Rebased onto main and re-verified with Claude Code (Claude Sonnet 5.5). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assisted-by: Codex (gpt-6.2-sol)
cec364b to
d94caf3
Compare
|
#1634 makes the same change: AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
device_x::note_basecopied rawD3D12_GRAPHICS_PIPELINE_STATE_DESCbytes intoBASESwithout retainingpRootSignature. In D3D12 a title may release itsID3D12RootSignatureimmediately afterCreateGraphicsPipelineState; later calls toCreateDerivedPipelineStateXor theRSSetDepthBiasXpatched-PSO fallback would then pass a dangling pointer intoCreateGraphicsPipelineState. Retain non-nullpRootSignatureinBaseviaID3D12RootSignature::from_raw_borrowed().cloned()and release replaced or removedBaseentries outside theBASESmutex lock. Part of #1488 (XCL-BT-005).What is in it
device_x.rsretains each tracked graphics PSO’s root signature and drops replaced or removed entries outside the registry lock. The rebase preserves D3D12.X: base pipelines keep their own copy of their shaders, shared by content #3292’s shader bytecode ownership and both lifetime tests.Tested
d94caf384eb7b4dff9fb35a040e8fdfa419c3f57on Windows 11 build 26200, Ryzen 7 5700X3D, Radeon RX 7800 XT (driver 32.0.31035.1003), Rust 1.100.0 MSVC, debug profile. The focused tests ran on the CPU.cargo test -j 4 -p xcl --lib 'hle::d3d12x::device_x::tests::base_' -- --nocaptureran the root-signature and shader-bytecode lifetime tests. 2 passed, 0 failed, 0 ignored, 0 skipped, 2564 filtered out.Regression run
Not tested
mainand this head.AI use