D3D12.X: failed command-list Reset moves its allocator recording association #1011
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?
Imported from ivall/xcl. Originally posted by nova-aryan on 2026-11-24T10:25:18Z.
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).
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T10:47:05Z.
Fixed by #1023 (
01d4c77, merged in384f7f7).