Skip to content

Shaders: precompile runtime-selected graphics variants - #67

Draft
bmjask wants to merge 1 commit into
stack/063-cap-placed-alias-trackingfrom
stack/064-precompile-runtime-variants
Draft

bmjask wants to merge 1 commit into
stack/063-cap-placed-alias-trackingfrom
stack/064-precompile-runtime-variants

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #66.

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

What and why

This unit isolates shaders: precompile runtime-selected graphics variants as one reviewable step in the redesign.

What is in it

  • 575928c8 is the cleaned-stack form of integrated commit 233f1cbc.

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/063-cap-placed-alias-tracking branch from 5e45948 to 27a16ef Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/064-precompile-runtime-variants branch from 575928c to 0121732 Compare November 27, 2026 00:46
Route standalone VS and PS variants through the exact runtime console_to_dxil_in path so precompile warms translated/v2 serialization and the selected HLSL/direct-DXIL backend instead of only manually warming HLSL output.

Selection matches the runtime's first hardware VS/PS FSSM and exact stage, split, windows, and base-zero keys. Paired PS variants with nonzero VS sampler bases remain cold because the shader archive has no pipeline pairing data.

GNU Windows-target cargo check passed. Fresh-cache Windows probes, GPU execution, and retail smoke were not available on this host.

Adapted from PR xcl-dev#2613.
Assisted-by: Codex (GPT-5.6-sol)

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/064-precompile-runtime-variants branch from 0121732 to f1b6aca Compare November 27, 2026 05:14
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