Skip to content

D3D12.X: retain busy allocators past final Release - #51

Draft
bmjask wants to merge 1 commit into
stack/047-descriptor-heap-boundsfrom
stack/048-busy-allocator-retention
Draft

bmjask wants to merge 1 commit into
stack/047-descriptor-heap-boundsfrom
stack/048-busy-allocator-retention

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #50.

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

What and why

This unit isolates d3d12.x: retain busy allocators past final release as one reviewable step in the redesign.

What is in it

  • d8ffb352 is the cleaned-stack form of integrated commit f3438a02.

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/047-descriptor-heap-bounds branch from 3943fc5 to 8449048 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/048-busy-allocator-retention branch from d8ffb35 to 7561128 Compare November 27, 2026 00:46
A title can release a command allocator while command-list recordings, reserved submits, or GPU fence marks still depend on its native object. Probe the logical final COM Release, transfer that reference only for a busy backing, detach the title namespace, and retire original or pool-created backing ownership outside the allocator state lock once it is free.

This is the lifetime prerequisite for pre-execution allocator reservations; production submit wiring remains disabled.

Cross-target cargo check for tests passed; Windows GPU execution was unavailable.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/047-descriptor-heap-bounds branch from 8449048 to b1752f0 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/048-busy-allocator-retention branch from 7561128 to 287b0a0 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