D3D12.X: failed Reset removes a reusable allocator from its pool #1004

Closed
opened 2026-11-26 04:39:57 +00:00 by github-bot · 1 comment
Owner

@⁠nova-aryan on GitHub · 2026-11-24 10:18 UTC · original

On main 6efdabc, the reusable-backing branch in alloc_pool::title_reset removes the candidate from aside before calling its PC Reset. If Reset fails, the method returns the error but the candidate is no longer available for reuse or tracked as owned by the title allocator. A later retry can allocate another backing instead.

I will remove the spare only after a successful Reset and add an isolated state-machine regression covering failure, retry, and publication of the successful replacement. Separate from #989/#994, which cover failure while creating a new backing. No local builds, tests or game runs; draft pending independent validation.

**@⁠nova-aryan** on GitHub · 2026-11-24 10:18 UTC · [original](https://github.com/xcl-dev/xcl/issues/1004) On main `6efdabc`, the reusable-backing branch in `alloc_pool::title_reset` removes the candidate from `aside` before calling its PC Reset. If Reset fails, the method returns the error but the candidate is no longer available for reuse or tracked as owned by the title allocator. A later retry can allocate another backing instead. I will remove the spare only after a successful Reset and add an isolated state-machine regression covering failure, retry, and publication of the successful replacement. Separate from #989/#994, which cover failure while creating a new backing. No local builds, tests or game runs; draft pending independent validation.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:39:57 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-24 10:46 UTC · original

Fixed by #1009 (f52ec36, merged in 384f7f7).

**@⁠ivall** on GitHub · 2026-11-24 10:46 UTC · [original](https://github.com/xcl-dev/xcl/issues/1004#issuecomment-7129238070) Fixed by #1009 (f52ec36, merged in 384f7f7).
This discussion has been locked. Commenting is limited to contributors.
No description provided.