D3D12.X: preserve startup clears when target state is unknown #1314
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1324"
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?
Imported from ivall/xcl. Originally posted by gloger2003 on 2026-11-24T14:47:06Z.
Stacked on #1261. Only
c3f17d3belongs to this PR. Review the follow-up diff.A queue can wait on producer work that has yet to be submitted, so CPU submission order alone cannot establish a target's state. An alias barrier can also change which texture is active inside a recorded list. Keep title commands in these cases and skip automatic preparation for affected targets.
What is in it
Tested
c3f17d3, Windows 11 x64, Ryzen 7 5700X, Radeon RX 7800 XT.cargo build --offline --locked --release -p xclon main and the rebased head.cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --show-outputon the rebased head. 966 reported passed, 0 failed, 43 ignored. Runtime skips: 7 (gpu, heap_window_out_of_memory_falls_back_to_the_switch_form).Earlier testing on
8a48b44, its predecessor and the indicated integration tree:cargo build --offline --locked --workspaceandcargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --show-output. The tests ran withXCL_TEST_PREP_SUBMITTED_TARGETS=1. 758 passed, 0 failed, 41 ignored, 0 capability skips.c160d86at local mergef4be315, which includes #1038, #1047, #1087, #1105, #1156, #1261 and #1324. On the RX 7800 XT, matched 30-second Minecraft Preview runs at 1x with the debug layer and DRED had six startup errors with preparation disabled (three each of IDs 527 and 538) and zero with it enabled. Both runs showed the menu, exited cleanly and reported two Input Layout warnings. The sampled frame at present 1340 had 124,446 and 124,432 non-dark samples out of 129,600.8a48b44. The Wine report did not establish that the title took the opt-in path.Regression run
Minecraft Preview at 1x, 30 seconds per build.
XCL_TEST_PREP_SUBMITTED_TARGETS=1was set for both runs.Not tested
AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T15:18:47Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 713 passed, 0 failed, 21 ignored (one earlier run hit the knowncoherent_buffer_sanitizesflake from #913; clean on rerun).Thanks!
Imported from ivall/xcl. Originally posted by JoaoPauluu on 2026-11-24T15:28:07Z.
A regression run under Wine on Linux, on a retail title.
Tested
x86_64-pc-windows-gnu.8a48b44as it is andmain930e8b4, no uncommitted changes. Retail title 1.0.2.1,scripts/linux/smoke.sh(#257) for 60 s, no input. Nine runs in a row,mainfirst and last, other PRs in between.Regression run
main (first run):
this PR:
The last
mainrun: 1338 frames,exit: 0x0, no device removal, no crash. Under Wine,peak commitreads 0 MB, so these blocks do not check memory.Not tested
AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T15:58:34Z.
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!
upstream-sync referenced this pull request2026-11-24 19:06:45 +00:00
upstream-sync referenced this pull request2026-11-25 06:04:27 +00:00
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T04:53:12Z.
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current
mainon the new head — needs another rebase before it can be tested.Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:40:13Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T05:26:35Z.
Triage (#1607) – head
c3f17d3This PR is stacked on #1261: its first two commits (
6c663bc,14dfb38) are #1261's head, and onlyc3f17d3is new. That is why the two PRs share most of their added lines; it is not a duplicate. No merged change covers the wait or alias tracking thatc3f17d3adds inreal.rs(note_queue_wait,note_aliasing,plan_for_queue). All of it is behindXCL_TEST_PREP_SUBMITTED_TARGETS. No problems found in the top commit's diff.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.