D3D12.X: retain live render targets for frame dumps #1295
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1295
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1295"
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?
@Filip722 on GitHub · 2026-11-24 14:24 UTC · original
Filip722:fix/frame-dump-live-rt→main· +98 −12 · 2 files · 1 commits · openFrame tracing can select an old render-target address after the last RTV descriptor has released that resource. An intermediate readback can then inspect the old address.
What is in it
Tested
cargo xwin build --locked --release --workspace --target x86_64-pc-windows-msvc. Cross-built the test binaries withcargo xwin test --locked --release --workspace --target x86_64-pc-windows-msvc --no-runand ran each under Proton with--test-threads=4.Regression run
Unmodified
scripts/smoke.ps1through the local Proton runner, 25 seconds each. The Wine runs report zero process commit. #1097 tracks that telemetry.Not tested
Native Windows, AMD, and intermediate readback during world rendering. The startup smoke did not enable frame tracing.
AI use
OpenAI Codex with GPT-6.2-Sol high prepared the change and regression, ran the comparisons, and drafted the PR.
@DavidM1911 on GitHub · 2026-11-24 14:33 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:Thanks!
@futurepro62 on GitHub · 2026-11-24 14:39 UTC · original
Full-suite run on NVIDIA and AMD to go with the subset check above. Tested exact head
177e6e8(on its base930e8b4).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 752 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.frame_dump_selects_only_live_rtv_resources.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4: 752 passed, 0 failed, 41 ignored, no skips.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 16:02 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib -- --test-threads=1: all passed, 0 failed, 21 ignored. (Parallel runs intermittently abort with 0xc0000005 — same harness flake seen on unmodifiedmain.)Thanks!
@xpatfussy69x on GitHub · 2026-11-25 11:56 UTC · original
Test report for head
177e6e8as pushed (not merged onto currentmain) – NVIDIA, wave32.Tested
.\scripts\test.ps1(cargo build --workspace+cargo test --workspace -- --test-threads=4): 752 passed, 0 failed, 41 ignoredframe_dump_selects_only_live_rtv_resourcesran and passedXCL_SAMPLE_*data set (game-data tests not run)Not tested
XCL_DUMP_FRAMEor similar); AMD / native wave64; release build; the head merged onto currentmainAI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.