Skip to content

D3D12.X: own and consume exact recipe pipelines for draws - #260

Draft
bmjask wants to merge 2 commits into
stack/256-wave64-graphics-smokefrom
stack/257-exact-recipe-draws
Draft

bmjask wants to merge 2 commits into
stack/256-wave64-graphics-smokefrom
stack/257-exact-recipe-draws

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #259.

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

What and why

This unit isolates d3d12.x: own and consume exact recipe pipelines for draws as one reviewable step in the redesign.

What is in it

  • 4abc560f is part of this logical unit.
  • ae28ef55 is part of this logical unit.

Tested

The complete rewritten tail 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 change onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/257-exact-recipe-draws branch 2 times, most recently from fa2db76 to 4968c85 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/256-wave64-graphics-smoke branch from 10045a6 to c47db1c Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/257-exact-recipe-draws branch from 4968c85 to c352076 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/256-wave64-graphics-smoke branch from c47db1c to b7d2a1f Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/257-exact-recipe-draws branch from c352076 to adc69a6 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/256-wave64-graphics-smoke branch from b7d2a1f to a4c343a Compare November 27, 2026 12:44
@bmjask
bmjask force-pushed the stack/257-exact-recipe-draws branch from adc69a6 to 1ba29b0 Compare November 27, 2026 12:44
@bmjask
bmjask force-pushed the stack/256-wave64-graphics-smoke branch from a4c343a to 99ee09d Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/257-exact-recipe-draws branch from 1ba29b0 to 8d01cf1 Compare November 27, 2026 12:52
bmjask added 2 commits November 27, 2026 17:30
Correctness-critical emission must not re-resolve a title address that may now name another pipeline, and it must never bind an unowned native pointer. Add a retained-identity consumer that exposes a raw pipeline only together with its exact immutable generation pin.

Legacy one-shot pipelines remain an explicit transitional disposition, while deferred restoration and failures remain fail-closed. No live draw, dispatch, ExecuteIndirect, worker, or restoration policy changes in this stage.

Assisted-by: Codex (GPT-5.6-sol)
A draw previously re-looked up its title pipeline address and then resolved it again inside ABI binding. Address reuse or generation replacement could redirect one recorded draw and leave its native object unpinned.

Snapshot the retained decision once outside the bind lock, record an available immutable generation before use, and carry the selected raw pipeline through draw classification, tracing, ABI binding, and rectangle handling. Deferred recipe states fail closed; legacy one-shot behavior remains explicitly unchanged for a later generalized pinning stage.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/257-exact-recipe-draws branch from 8d01cf1 to ef9ec83 Compare November 28, 2026 01:35
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

@github-actions github-actions Bot added the stale label Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant