Skip to content

D3D12.X: key compute driver blobs by static samplers - #135

Draft
bmjask wants to merge 1 commit into
stack/131-split-continuations-no-allocatorsfrom
stack/132-static-sampler-blob-keys
Draft

bmjask wants to merge 1 commit into
stack/131-split-continuations-no-allocatorsfrom
stack/132-static-sampler-blob-keys

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #134.

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

What and why

This unit isolates d3d12.x: key compute driver blobs by static samplers as one reviewable step in the redesign.

Upstream overlap

This overlaps upstream PR xcl-dev#1420 and is retained only as an internal reconciliation draft.

What is in it

  • 4abad2c7 is the cleaned-stack form of integrated commit 819ea4c0.

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/131-split-continuations-no-allocators branch from 81faa18 to d30645d Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/132-static-sampler-blob-keys branch from 4abad2c to 97639ef Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/131-split-continuations-no-allocators branch from d30645d to dc8a054 Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/132-static-sampler-blob-keys branch 2 times, most recently from 18cb767 to f06327a Compare November 27, 2026 05:14
Identical DXIL and pipeline flags can use different ordered static samplers in their root signatures. The disk cache previously assigned those pipelines one filename, so a whole, split-chain, or two-pass compute build could reject and replace another root signature's blob before paying for an uncached driver retry.

Include the sampler identity in runtime and offline cache names while preserving exact legacy names for empty-sampler roots. Adapted from the collision identified and reproduced by PR xcl-dev#1420, extended to the integrated dispatch-chain and two-pass paths.

Checked with the Windows GNU target; Windows MSVC runtime, GPU cache reuse, and smoke tests were not available here.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/132-static-sampler-blob-keys branch from f06327a to 9fa52b0 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/131-split-continuations-no-allocators branch from bc03d43 to 9e61f40 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