Skip to content

D3D12.X: cache bind entries per recording thread - #272

Draft
bmjask wants to merge 1 commit into
stack/268-isolate-list-bind-statefrom
stack/269-cache-thread-bind-entries
Draft

bmjask wants to merge 1 commit into
stack/268-isolate-list-bind-statefrom
stack/269-cache-thread-bind-entries

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #271.

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

What and why

This unit isolates d3d12.x: cache bind entries per recording thread as one reviewable step in the redesign.

What is in it

  • 4cd3e5a0 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/268-isolate-list-bind-state branch from 72e9c71 to 90ce577 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/269-cache-thread-bind-entries branch 3 times, most recently from 934b8b7 to e641609 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/268-isolate-list-bind-state branch from 04c02bc to 6baae46 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/269-cache-thread-bind-entries branch from e641609 to 2f65af5 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/268-isolate-list-bind-state branch from 6baae46 to 6674138 Compare November 27, 2026 12:44
@bmjask
bmjask force-pushed the stack/269-cache-thread-bind-entries branch from 2f65af5 to 2f420ae Compare November 27, 2026 12:44
Keep four weak per-thread bind-entry references so repeated draw and dispatch state access bypasses registry shards. One-way live invalidation and a post-lock Acquire check reject stale entries after same-address list reuse without extending state or COM lifetimes.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/268-isolate-list-bind-state branch from 6674138 to 2295e2c Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/269-cache-thread-bind-entries branch from 2f420ae to 18e2a6f 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