Skip to content

D3D12.X: build indirect split pipelines on the CBV ABI - #172

Draft
bmjask wants to merge 1 commit into
stack/168-residency-docsfrom
stack/169-indirect-cbv-abi
Draft

bmjask wants to merge 1 commit into
stack/168-residency-docsfrom
stack/169-indirect-cbv-abi

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #171.

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

What and why

This unit isolates d3d12.x: build indirect split pipelines on the cbv abi as one reviewable step in the redesign.

Upstream overlap

This and the earlier indirect-ABI unit are an alternative treatment to draft upstream PR xcl-dev#2633; reconciliation is required.

What is in it

  • 757fa298 is the cleaned-stack form of integrated commit 57e97b30.

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/169-indirect-cbv-abi branch 2 times, most recently from 464df9e to e210fd1 Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/168-residency-docs branch 2 times, most recently from df8861a to f9f7043 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/169-indirect-cbv-abi branch from e210fd1 to b9252aa Compare November 27, 2026 05:14
Root-constant ExecuteIndirect costs about 15.3 us per piece step on the measured RTX 5070 Ti, versus 0.41 us for a Dispatch-only signature. Build a bounded, speculative indirect-only piece and whole set on one background lane, then share one 256-byte CBV command per round across its pieces.

Direct dispatch keeps its existing constants ABI. Until the direct whole and complete indirect set are ready, ExecuteIndirect keeps the existing whole fallback. Source-plan retention and live duplicate admission are each capped at 64 MiB.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/169-indirect-cbv-abi branch from b9252aa to e02b885 Compare November 27, 2026 12:35
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