Skip to content

D3D12.X: poll allocator backing fences outside global state - #119

Draft
bmjask wants to merge 1 commit into
stack/037-private-wait-detailsfrom
stack/116-poll-backing-fences-unlocked
Draft

bmjask wants to merge 1 commit into
stack/037-private-wait-detailsfrom
stack/116-poll-backing-fences-unlocked

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #118.

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

What and why

This unit isolates d3d12.x: poll allocator backing fences outside global state as one reviewable step in the redesign.

What is in it

  • c375517c is the cleaned-stack form of integrated commit 5b2422bf.

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/115-descriptor-ranges-unlocked branch from 27dfcba to df09b89 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/116-poll-backing-fences-unlocked branch from c375517 to 7f69cf1 Compare November 27, 2026 00:46
@bmjask
bmjask changed the base branch from stack/115-descriptor-ranges-unlocked to stack/037-private-wait-details November 27, 2026 00:47
@bmjask
bmjask force-pushed the stack/037-private-wait-details branch from b741df8 to 9a096a7 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/116-poll-backing-fences-unlocked branch from 7f69cf1 to 0b798d6 Compare November 27, 2026 01:01
Allocator reset, retirement, and release probing queried fence completion while holding the pool-wide state lock. Snapshot strong fence owners and exact backing generations, poll without the lock, and revalidate every namespace and mutable field before reuse or release. Carry replaced COM references out of the lock and fail closed on concurrent mutation.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/037-private-wait-details branch from 9a096a7 to faa63e1 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/116-poll-backing-fences-unlocked branch from 0b798d6 to 0da80f7 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