Repository navigation
D3D12.X: move allocator recordings only after successful Reset - #1023
Closed
nova-aryan wants to merge 1 commit into
Closed
nova-aryan wants to merge 1 commit into
nova-aryan wants to merge 1 commit into
Conversation
Native command-list Reset failure keeps the old recording, so its backing association must also remain unchanged. Commit the selected PC backing after success across all three reset paths and extend the existing regression. Local execution is disabled at the user's request. Fixes xcl-dev#1018.
ivall
added a commit
that referenced
this pull request
Nov 24, 2026
This was referenced Nov 24, 2026
Collaborator
|
Thanks – your commit is 01d4c77 on Tested on the merged tree (it was not run before, so here it is):
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native command-list Reset can fail while the old recording remains alive.
list_xalready preserves its old state in that case, but the precedingalloc_pool::for_listhas moved the recording association to the requested allocator. Keep the old backing held until native Reset succeeds. Fixes #1018.This extends #118's failure handling to the allocator tracking introduced by #897. Independent of #994, #1009 and #1012.
What is in it
alloc_pool.rs: replace the preparation-only call withreset_list, which snapshots the selected PC backing, calls native Reset without a pool lock, and commits the association only on success.list_x.rs: use it for normal Reset, KickoffX reopening and split-segment reuse. Extend the existing synthetic Reset regression to check the old association after failure and the new one after success; clean up its pool entries.Tested
6efdabc; all three production call sites updated, nofor_listcallers remain.git diff --check: exit 0.Regression run
Not run. Main/head retail smoke blocks are missing; keep this a draft pending Windows validation.
Not tested
0x333after the injected failure instead of the old0x111. Not executed.AI use
Codex (GPT-6) inspected the code, wrote the patch/regression updates and prepared this description. The exact backend model identifier was not provided in this session.