D3D12.X: failed command-list Reset moves its allocator recording association #1018
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#1018
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@nova-aryan on GitHub · 2026-11-24 10:25 UTC · original
On main
6efdabc,list_xcallsalloc_pool::for_listbefore the native command-list Reset. That immediately moves the list out of its old backing'susers. If native Reset fails,list_xcorrectly retains the old recording state (#118), but the allocator pool already says the recording lives on the requested replacement. The old backing can then be treated as free even though the old recording still exists.I will commit the allocator association only after successful native Reset, covering normal Reset, KickoffX reopening and split-segment reuse. The selected PC backing must be captured before the driver call and the pool lock must not be held across it. Extend the existing synthetic native-Reset regression to check pool ownership on failure and success.
No local build/test/game execution at the user's request; draft pending validation. This follows the allocator tracking introduced by #897 and is separate from spare Reset ownership (#1004/#1009) and final list-release cleanup (#1010/#1012).
@ivall on GitHub · 2026-11-24 10:47 UTC · original
Fixed by #1023 (
01d4c77, merged in384f7f7).