Skip to content

D3D12.X: isolate bind state per command list - #271

Draft
bmjask wants to merge 1 commit into
stack/267-preserve-reused-bind-statefrom
stack/268-isolate-list-bind-state
Draft

bmjask wants to merge 1 commit into
stack/267-preserve-reused-bind-statefrom
stack/268-isolate-list-bind-state

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #270.

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

What and why

This unit isolates d3d12.x: isolate bind state per command list as one reviewable step in the redesign.

What is in it

  • 72e9c718 is the rebased logical commit.

Tested

The complete rewritten stack was verified tree-identical to integrated commit 963dcdca. Tests were not rerun during stack packaging.

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, rebased the existing logical commit onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/267-preserve-reused-bind-state branch from 6604fca to caeed9e Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/268-isolate-list-bind-state branch 2 times, most recently from 90ce577 to 84d0664 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/267-preserve-reused-bind-state branch from 207b5ca to ebc72e0 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/268-isolate-list-bind-state branch 3 times, most recently from 6baae46 to 6674138 Compare November 27, 2026 12:44
Replace the process-wide bind-state mutex with a 64-shard registry of per-list state locks. Registry guards are released before list locking, and forget extracts state so UMA transfer and retained pipeline destruction remain outside both lock classes.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/267-preserve-reused-bind-state branch from 11f662d to 4f8db11 Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/268-isolate-list-bind-state branch from 6674138 to 2295e2c Compare November 27, 2026 12:52
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