Skip to content

D3D12.X: bind selected pipelines without re-resolution - #297

Draft
bmjask wants to merge 1 commit into
stack/293-indirect-pipeline-identityfrom
stack/294-bind-without-reresolution
Draft

bmjask wants to merge 1 commit into
stack/293-indirect-pipeline-identityfrom
stack/294-bind-without-reresolution

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #296.

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

What and why

This unit isolates d3d12.x: bind selected pipelines without re-resolution as one reviewable step in the redesign.

What is in it

  • 0a3cb1c5 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/294-bind-without-reresolution branch from 0a3cb1c to fd57282 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/293-indirect-pipeline-identity branch from e7abe5a to e5f3213 Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/294-bind-without-reresolution branch from fd57282 to 39eadc6 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/293-indirect-pipeline-identity branch from e5f3213 to beeccdf Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/294-bind-without-reresolution branch from 39eadc6 to 6a7516e Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/293-indirect-pipeline-identity branch from beeccdf to b61c169 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/294-bind-without-reresolution branch from 6a7516e to 5a48138 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/293-indirect-pipeline-identity branch from b61c169 to f0095b8 Compare November 27, 2026 12:44
@bmjask
bmjask force-pushed the stack/294-bind-without-reresolution branch from 5a48138 to 1e8013e Compare November 27, 2026 12:44
A retained pipeline could still be redirected after selection because ABI, dispatch-chain, remap, and indirect helper PSOs were passed through the public SetPipelineState hook again.

Bind selected base and derived PSOs through the saved native slot while preserving the logical title identity for diagnostics. Monomorphized callbacks keep generic recompiler helpers independent of adopted-list tracking and remove registry/list locks from every chain piece.

Measured with both Windows-GNU cargo check gates; Windows execution and GPU tests were not available.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/293-indirect-pipeline-identity branch from f0095b8 to 67747ef Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/294-bind-without-reresolution branch from 1e8013e to 2df226a 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