Skip to content

D3D12.X: reserve allocator state before submission - #45

Draft
bmjask wants to merge 1 commit into
stack/041-write-watch-scanningfrom
stack/042-reserve-allocator-submission
Draft

bmjask wants to merge 1 commit into
stack/041-write-watch-scanningfrom
stack/042-reserve-allocator-submission

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #44.

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

What and why

This unit isolates d3d12.x: reserve allocator state before submission as one reviewable step in the redesign.

What is in it

  • be449671 is the cleaned-stack form of integrated commit a432e425.

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/041-write-watch-scanning branch from 4310616 to 55b4dd9 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/042-reserve-allocator-submission branch from be44967 to 3d4da4d Compare November 27, 2026 00:46
Add a BeginSubmit-to-PendingSubmit typestate that captures and pins exact list lifetime, recording, and allocator backing before native execution. Safe pre-execute abandonment unpins; once armed, drop or marker failure deliberately remains fail-closed, while successful finish converts pins into existing per-queue marks.

The Windows-GNU check reached and type-checked this code; the branch base then stopped on the since-corrected private PendingWait API.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/041-write-watch-scanning branch from 55b4dd9 to e65aa88 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/042-reserve-allocator-submission branch from 3d4da4d to 5f16aa5 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