Skip to content

D3D12.X: reject put-off segments that fail Close - #91

Draft
bmjask wants to merge 1 commit into
stack/087-frame-wait-allocationfrom
stack/088-reject-failed-put-off-close
Draft

bmjask wants to merge 1 commit into
stack/087-frame-wait-allocationfrom
stack/088-reject-failed-put-off-close

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #90.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates d3d12.x: reject put-off segments that fail close as one reviewable step in the redesign.

Upstream overlap

This overlaps upstream PR xcl-dev#2622 and is retained only as an internal reconciliation draft.

What is in it

  • 6d89ad5c is the cleaned-stack form of integrated commit e62f22a2.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

@bmjask
bmjask force-pushed the stack/088-reject-failed-put-off-close branch from 6d89ad5 to ea5cd37 Compare November 27, 2026 00:45
The deferred-call path ignored native Close failures both while reserving an empty segment and after replaying the call. Such a segment could reach ExecuteCommandLists and remove the device.

Reject a reservation whose initial Close fails. If replay Close fails, drop the call, restore arena ownership to the previous valid segment, and quarantine the still-open list until wrapper destruction so it can never be reused as a closed spare.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (Claude Opus 5.5)
Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/087-frame-wait-allocation branch from b4bb5ee to f11d914 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/088-reject-failed-put-off-close branch from ea5cd37 to 0c554bd Compare November 27, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant