Shaders: --pipelines blobs are made as a title's run asks for them #2505

Open
oni-swr wants to merge 3 commits from upstream-pr/2515 into main
oni-swr commented 2026-11-25 21:17:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-25T21:17:59Z.


xcl shaders --precompile --pipelines blobs could be rejected on the first title run, then deleted and rebuilt. The offline pass and runtime now share the translated compute descriptor, key the driver cache by static samplers, and enable device layers before creating the device. Fixes #2453. Part of #1833 and #1269.

#1368 and #1420 are still open and overlap the node-mask and static-sampler fixes. The rebase on b49be183 preserves #2371's cached whole-pipeline lookup before dispatch-chain construction.

What is in it

  • hle/d3d12x/real.rs and shaders.rs share a compute descriptor with node mask 0. Runtime descriptors preserve the title's flags.
  • real.rs, real/dispatch_chain.rs, real/two_pass_identity.rs, and shaders.rs include static samplers in driver cache keys for whole pipelines, dispatch-chain pieces, and the two-pass compute pass. Sampler-free blobs keep their existing filenames. The cache replay test uses the sampler-aware key, and README.md documents which blobs can rebuild.
  • real.rs and shaders.rs use the same debug-layer and DRED setup before device creation.

Tested

  • Head f655cfdac728967c57f233f34eac3b8fec1907c4 on an AMD Ryzen 7 5700X3D, Windows build 26200.9974, rustc 1.100.0 (MSVC), debug. CPU only, with XCL_ADAPTER=NONE_CPU_ONLY and XCL_SAMPLE_* unset.
  • cargo build --workspace -j 4 and cargo test --workspace --no-run -j 4 passed.
  • cargo test -p xcl --lib -j 4 -- translated_compute_desc driver_cache compute_blob two_pass_identity shaders:: a_chains_scratch_is_bounded --skip recorded_split_selects_cached_whole_or_pieces --skip stale_blob_cannot_bypass_the_offline_pipeline_cap --skip split_compute_program_prebuilds_and_caches_chain_pieces --skip pso_measurement_compiles_an_exact_synthetic_record --skip retail_pack_sample --test-threads=4: 18 passed, 0 failed, 0 ignored, 0 runtime skips. The command excluded three GPU tests and two sample-dependent tests.

Regression run

  • scripts/smoke.ps1 -Game <title folder> -Seconds 60, release builds, same title, RX 7800 XT, run one after the other on the same machine. main is b49be183 (this PR's merge base), this PR's head is f655cfda (clean tree). The PR's run had 1519 frames, 97 % of main's 1563, with no device removal and no crash; its peak commit was 15316 MB against 15808 MB.

main:

xcl-smoke v1
commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7
gpu: AMD Radeon RX 7800 XT
title: 2c508222
seconds: 60
exit: 0x0
frames shown: 1563 (PresentX 1563)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15808 MB

This PR's head:

xcl-smoke v1
commit: f655cfdac728967c57f233f34eac3b8fec1907c4
gpu: AMD Radeon RX 7800 XT
title: 2c508222
seconds: 60
exit: 0x0
frames shown: 1519 (PresentX 1519)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15316 MB

Not tested

  • Full GPU-backed workspace suite, real-driver cache reuse and retry behavior, and debug-layer or DRED behavior on hardware. The smoke was one 60 s title run, not a --precompile --pipelines pass followed by a first title run, so the first-run refusal of #2453 itself was not checked. The offline CLI uses environment variables for its device settings because it does not load a title's xcl.toml.

AI use

  • Claude Code (Claude Opus 5.5) wrote and tested the original changes.
  • Codex (gpt-6.2-sol) resolved the rebase conflicts, updated the cache replay test and README, ran the CPU checks reported here, and updated this description.
  • The two smoke runs under Regression run were made later with Claude Code (Claude Sonnet 5.5), which also added them to this description.
<!-- greyfinch-sync:ivall/xcl:issue:5499337363 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2515). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-25T21:17:59Z. --- `xcl shaders --precompile --pipelines` blobs could be rejected on the first title run, then deleted and rebuilt. The offline pass and runtime now share the translated compute descriptor, key the driver cache by static samplers, and enable device layers before creating the device. Fixes #2453. Part of #1833 and #1269. #1368 and #1420 are still open and overlap the node-mask and static-sampler fixes. The rebase on `b49be183` preserves #2371's cached whole-pipeline lookup before dispatch-chain construction. **What is in it** - `hle/d3d12x/real.rs` and `shaders.rs` share a compute descriptor with node mask 0. Runtime descriptors preserve the title's flags. - `real.rs`, `real/dispatch_chain.rs`, `real/two_pass_identity.rs`, and `shaders.rs` include static samplers in driver cache keys for whole pipelines, dispatch-chain pieces, and the two-pass compute pass. Sampler-free blobs keep their existing filenames. The cache replay test uses the sampler-aware key, and `README.md` documents which blobs can rebuild. - `real.rs` and `shaders.rs` use the same debug-layer and DRED setup before device creation. **Tested** - Head `f655cfdac728967c57f233f34eac3b8fec1907c4` on an AMD Ryzen 7 5700X3D, Windows build 26200.9974, rustc 1.100.0 (MSVC), debug. CPU only, with `XCL_ADAPTER=NONE_CPU_ONLY` and `XCL_SAMPLE_*` unset. - `cargo build --workspace -j 4` and `cargo test --workspace --no-run -j 4` passed. - `cargo test -p xcl --lib -j 4 -- translated_compute_desc driver_cache compute_blob two_pass_identity shaders:: a_chains_scratch_is_bounded --skip recorded_split_selects_cached_whole_or_pieces --skip stale_blob_cannot_bypass_the_offline_pipeline_cap --skip split_compute_program_prebuilds_and_caches_chain_pieces --skip pso_measurement_compiles_an_exact_synthetic_record --skip retail_pack_sample --test-threads=4`: 18 passed, 0 failed, 0 ignored, 0 runtime skips. The command excluded three GPU tests and two sample-dependent tests. **Regression run** - `scripts/smoke.ps1 -Game <title folder> -Seconds 60`, release builds, same title, RX 7800 XT, run one after the other on the same machine. `main` is `b49be183` (this PR's merge base), this PR's head is `f655cfda` (clean tree). The PR's run had 1519 frames, 97 % of `main`'s 1563, with no device removal and no crash; its peak commit was 15316 MB against 15808 MB. `main`: ``` xcl-smoke v1 commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 gpu: AMD Radeon RX 7800 XT title: 2c508222 seconds: 60 exit: 0x0 frames shown: 1563 (PresentX 1563) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15808 MB ``` This PR's head: ``` xcl-smoke v1 commit: f655cfdac728967c57f233f34eac3b8fec1907c4 gpu: AMD Radeon RX 7800 XT title: 2c508222 seconds: 60 exit: 0x0 frames shown: 1519 (PresentX 1519) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15316 MB ``` **Not tested** - Full GPU-backed workspace suite, real-driver cache reuse and retry behavior, and debug-layer or DRED behavior on hardware. The smoke was one 60 s title run, not a `--precompile --pipelines` pass followed by a first title run, so the first-run refusal of #2453 itself was not checked. The offline CLI uses environment variables for its device settings because it does not load a title's `xcl.toml`. **AI use** - Claude Code (Claude Opus 5.5) wrote and tested the original changes. - Codex (gpt-6.2-sol) resolved the rebase conflicts, updated the cache replay test and README, ran the CPU checks reported here, and updated this description. - The two smoke runs under **Regression run** were made later with Claude Code (Claude Sonnet 5.5), which also added them to this description.
KDenKC commented 2026-11-25 22:06:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-25T21:19:04Z.


An NVIDIA data point for the "compute retry on run 1" part. This is from main, not from this PR's head: on an RTX 5090 (driver 621.24, Windows 11 26200) the --precompile --only cs --pipelines blobs aren't refused on the title's first run.

I checked the logs of the title runs that came right after a precompile, with XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1, release. driver_cache::note(false, …) logs a driver blob kept on disk was refused … at the first refusal of any size, so it is the line to look for:

tree, run … kept on disk was refused … compute pipelines made from the driver's blob of an earlier run (last power of two logged)
2898511, first run after the precompile (menus only) 0 2
2898511, second run (to the world, 600 s) 0 512
2898511 + #2404, first run after its precompile (600 s) 0 2048

So on this driver the title's NodeMask, its static samplers and the missing device layers offline don't make the driver refuse the offline blobs. What #2453 describes may be AMD-specific (or specific to a driver), and the RX 7800 XT check you planned is the one that can show the fix. I haven't run this PR's head. On NVIDIA, I'd expect it to show only that programs with static samplers get their blobs made once more under the new names.

AI use: Claude Code (Claude Opus 5.5) read the run logs and the driver_cache code, and wrote this.

<!-- greyfinch-sync:ivall/xcl:comment:7174913409 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2515#issuecomment-7174913409). Originally posted by [KDenKC](https://github.com/KDenKC) on 2026-11-25T21:19:04Z. --- An NVIDIA data point for the "`compute retry` on run 1" part. This is from `main`, not from this PR's head: **on an RTX 5090 (driver 621.24, Windows 11 26200) the `--precompile --only cs --pipelines` blobs aren't refused on the title's first run.** I checked the logs of the title runs that came right after a precompile, with `XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1`, release. `driver_cache::note(false, …)` logs `a driver blob kept on disk was refused …` at the first refusal of any size, so it is the line to look for: | tree, run | `… kept on disk was refused` | `… compute pipelines made from the driver's blob of an earlier run` (last power of two logged) | |---|---|---| | `2898511`, first run after the precompile (menus only) | 0 | 2 | | `2898511`, second run (to the world, 600 s) | 0 | 512 | | `2898511` + #2404, first run after its precompile (600 s) | 0 | 2048 | So on this driver the title's `NodeMask`, its static samplers and the missing device layers offline don't make the driver refuse the offline blobs. What #2453 describes may be AMD-specific (or specific to a driver), and the RX 7800 XT check you planned is the one that can show the fix. I haven't run this PR's head. On NVIDIA, I'd expect it to show only that programs with static samplers get their blobs made once more under the new names. AI use: Claude Code (Claude Opus 5.5) read the run logs and the `driver_cache` code, and wrote this.
DavidM1911 commented 2026-11-25 22:06:45 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T21:32:03Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7175204422 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2515#issuecomment-7175204422). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T21:32:03Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
SlopTart commented 2026-11-25 23:09:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T22:33:05Z.


Tested: current PR head merged onto current origin/main (clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo target x86_64-pc-windows-gnu run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29).

gpu_ suite (cold cache): 164 passed / 3 failed, no crashes. The three are the known baseline on this lane (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear driver gap, PR #2490); none caused by this PR.
Targeted run of a_titles_pipeline_is_described_to_the_driver_as_the_offline_pass_describes_it and one_dxil_under_other_static_samplers_is_another_file: 2 passed.

Not tested: retail titles (no title data on this lane, counts only).

AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7176503251 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2515#issuecomment-7176503251). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-25T22:33:05Z. --- **Tested**: current PR head merged onto current `origin/main` (clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo target `x86_64-pc-windows-gnu` run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29). `gpu_` suite (cold cache): 164 passed / 3 failed, no crashes. The three are the known baseline on this lane (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear driver gap, PR #2490); none caused by this PR. Targeted run of `a_titles_pipeline_is_described_to_the_driver_as_the_offline_pass_describes_it` and `one_dxil_under_other_static_samplers_is_another_file`: 2 passed. **Not tested**: retail titles (no title data on this lane, counts only). **AI use**: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
DavidM1911 commented 2026-11-26 02:08:22 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T01:36:37Z.


Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7179945228 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2515#issuecomment-7179945228). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T01:36:37Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
ettehn commented 2026-11-27 00:15:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ettehn on 2026-11-27T00:15:59Z.


Independent NVIDIA/Windows reproduction for the debug-layer part of #2453. Clean base b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 vs exact PR head f655cfdac728967c57f233f34eac3b8fec1907c4, RTX 5070 Ti Laptop (12 GB, driver 621.24), Windows 11 26200.9974, Rust 1.97.1 MSVC, DXC/DXIL 1.8.2502.11, debug builds.

I ran xcl shaders <synthetic CS folder> --precompile --pipelines with a fresh XCL cache in each arm. Both builds translated the shader successfully and returned exit 0 in every arm. The GPU PSO counters differed:

Environment Base made / refused PR made / refused
Both flags unset 1 / 0 1 / 0
XCL_D3D12_DEBUG=1 0 / 1 1 / 0
XCL_DRED=1 1 / 0 1 / 0
Both flags set 0 / 1 1 / 0

With cargo test --offline --locked -p xcl -j 4 --test gpu_compute_e2e offline_ -- --test-threads=1 --nocapture, both builds passed 3/3 with the flags unset. With both flags set, base passed 0/3 and head passed 3/3, with no capability skips. These fixtures cover whole and split blobs, corrupt-blob recovery, and runtime reuse of a whole PSO prepared offline, including a dispatch result check. This isolates the observed refusal to the debug flag on this setup. Coverage is synthetic; a retail title and a live DRED fault were outside this run.

OpenAI Codex (6.2sol) assisted with verification.

<!-- greyfinch-sync:ivall/xcl:comment:7206316416 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2515#issuecomment-7206316416). Originally posted by [ettehn](https://github.com/ettehn) on 2026-11-27T00:15:59Z. --- Independent NVIDIA/Windows reproduction for the debug-layer part of #2453. Clean base `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7` vs exact PR head `f655cfdac728967c57f233f34eac3b8fec1907c4`, RTX 5070 Ti Laptop (12 GB, driver 621.24), Windows 11 26200.9974, Rust 1.97.1 MSVC, DXC/DXIL 1.8.2502.11, debug builds. I ran `xcl shaders <synthetic CS folder> --precompile --pipelines` with a fresh XCL cache in each arm. Both builds translated the shader successfully and returned exit 0 in every arm. The GPU PSO counters differed: | Environment | Base made / refused | PR made / refused | | --- | ---: | ---: | | Both flags unset | 1 / 0 | 1 / 0 | | `XCL_D3D12_DEBUG=1` | 0 / 1 | 1 / 0 | | `XCL_DRED=1` | 1 / 0 | 1 / 0 | | Both flags set | 0 / 1 | 1 / 0 | With `cargo test --offline --locked -p xcl -j 4 --test gpu_compute_e2e offline_ -- --test-threads=1 --nocapture`, both builds passed 3/3 with the flags unset. With both flags set, base passed 0/3 and head passed 3/3, with no capability skips. These fixtures cover whole and split blobs, corrupt-blob recovery, and runtime reuse of a whole PSO prepared offline, including a dispatch result check. This isolates the observed refusal to the debug flag on this setup. Coverage is synthetic; a retail title and a live DRED fault were outside this run. OpenAI Codex (6.2sol) assisted with verification.
oni-swr commented 2026-11-28 02:29:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-28T02:29:24Z.


Rebased all 3 commits onto origin/main 753e8b1a2568c37248133880328f5fe1d5220193 (new head befb5f286b59564d5192b8aec8fedcbaddb7b556: c48a65c8, 8e427276, befb5f28), adapting to upstream refactors (Pipelines::make_required, Pipelines::for_adapter, real::init_with_remap, and pipeline_library compute load/store call sites using translated_compute_desc and sampler-qualified driver_cache::name / name_for).

CPU/WARP verification on befb5f28 (XCL_ADAPTER=warp, debug build, -j 4, XCL_SAMPLE_* unset):

  • cargo test --workspace --no-run -j 4: passed (0 errors; 2 pre-existing fetch_update deprecation warnings in untouched lines).
  • cargo test -p xcl --lib shaders:: -j 4 -- --test-threads=1 --nocapture: 39 passed, 1 failed (pso_measurement_compiles_an_exact_synthetic_record, pre-existing WARP E_INVALIDARG (0x80070057) creating the wave64 synthetic PSO after ShaderCacheControl succeeds on WARP). Rerunning with --skip pso_measurement_compiles_an_exact_synthetic_record: 39 passed, 0 failed, 0 ignored (1 runtime skip: retail_pack_sample, XCL_SAMPLE_RPF not set).
  • cargo test -p xcl --lib hle::d3d12x::real -j 4 -- --test-threads=4 --nocapture (skipping the 8 tests that call D3D12CreateDevice(None, ...) directly bypassing XCL_ADAPTER=warp: coherent_buffer_sanitizes_console_flags_and_state, dma_list_release_cleans_up_list_state, gpu_console_depth_formats_are_supported, gpu_console_format_allocation_info_is_sane, gpu_placed_console_depth_target_with_clear_value, only_resources_with_cpu_pages_go_to_the_pc_map, gpu_uav_companion_srv_and_null_image_views, a_list_recorded_after_another_goes_on_in_its_scratch): 60 passed, 0 failed, 0 ignored (including translated_compute_desc_tests, driver_cache::tests, compute_blob_tests, two_pass_identity::tests, and dispatch_chain::tests::a_chains_scratch_is_bounded_by_what_all_recordings_hold).
  • cargo clippy --workspace --all-targets -j 4 -- -D warnings (1 pre-existing lint in tests/testgamedll/src/lib.rs) and cargo clippy -p xcl --all-targets -j 4 -- -D warnings (848 pre-existing lints in xcl): 0 new lint categories introduced in changed code (compute_container already triggered clippy::too_many_arguments at 9/7 args on 753e8b1a and is now 10/7).

Kept as draft; the full GPU-backed test suite and paired scripts/smoke.ps1 runs on 753e8b1a vs befb5f28 are pending.

AI use: Antigravity (Gemini 4 Neon) performed the rebase and CPU/WARP verification.

<!-- greyfinch-sync:ivall/xcl:comment:7232395934 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2515#issuecomment-7232395934). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-28T02:29:24Z. --- Rebased all 3 commits onto `origin/main` `753e8b1a2568c37248133880328f5fe1d5220193` (new head `befb5f286b59564d5192b8aec8fedcbaddb7b556`: `c48a65c8`, `8e427276`, `befb5f28`), adapting to upstream refactors (`Pipelines::make_required`, `Pipelines::for_adapter`, `real::init_with_remap`, and `pipeline_library` compute load/store call sites using `translated_compute_desc` and sampler-qualified `driver_cache::name` / `name_for`). **CPU/WARP verification on `befb5f28`** (`XCL_ADAPTER=warp`, debug build, `-j 4`, `XCL_SAMPLE_*` unset): - `cargo test --workspace --no-run -j 4`: passed (0 errors; 2 pre-existing `fetch_update` deprecation warnings in untouched lines). - `cargo test -p xcl --lib shaders:: -j 4 -- --test-threads=1 --nocapture`: 39 passed, 1 failed (`pso_measurement_compiles_an_exact_synthetic_record`, pre-existing WARP `E_INVALIDARG (0x80070057)` creating the wave64 synthetic PSO after `ShaderCacheControl` succeeds on WARP). Rerunning with `--skip pso_measurement_compiles_an_exact_synthetic_record`: 39 passed, 0 failed, 0 ignored (1 runtime skip: `retail_pack_sample`, `XCL_SAMPLE_RPF` not set). - `cargo test -p xcl --lib hle::d3d12x::real -j 4 -- --test-threads=4 --nocapture` (skipping the 8 tests that call `D3D12CreateDevice(None, ...)` directly bypassing `XCL_ADAPTER=warp`: `coherent_buffer_sanitizes_console_flags_and_state`, `dma_list_release_cleans_up_list_state`, `gpu_console_depth_formats_are_supported`, `gpu_console_format_allocation_info_is_sane`, `gpu_placed_console_depth_target_with_clear_value`, `only_resources_with_cpu_pages_go_to_the_pc_map`, `gpu_uav_companion_srv_and_null_image_views`, `a_list_recorded_after_another_goes_on_in_its_scratch`): 60 passed, 0 failed, 0 ignored (including `translated_compute_desc_tests`, `driver_cache::tests`, `compute_blob_tests`, `two_pass_identity::tests`, and `dispatch_chain::tests::a_chains_scratch_is_bounded_by_what_all_recordings_hold`). - `cargo clippy --workspace --all-targets -j 4 -- -D warnings` (1 pre-existing lint in `tests/testgamedll/src/lib.rs`) and `cargo clippy -p xcl --all-targets -j 4 -- -D warnings` (848 pre-existing lints in `xcl`): 0 new lint categories introduced in changed code (`compute_container` already triggered `clippy::too_many_arguments` at 9/7 args on `753e8b1a` and is now 10/7). Kept as draft; the full GPU-backed test suite and paired `scripts/smoke.ps1` runs on `753e8b1a` vs `befb5f28` are pending. **AI use**: Antigravity (`Gemini 4 Neon`) performed the rebase and CPU/WARP verification.
Foniass commented 2026-12-01 08:14:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:14:17Z.


Triage (#1607) – head befb5f2

This overlaps two older open PRs for #2453:

  • #1368 sets NodeMask = 0 in compute_container. This PR's first commit does the same through translated_compute_desc.
  • #1420 adds the static samplers to the driver_cache file name. This PR's second commit does the same with two_pass_identity::samplers_hash_into, and also for chain pieces and the two-pass compute pass.
    The third commit (device layers before the --pipelines device) is only here. Agree with the two authors which PR carries which part, or split this one so each change is reviewed once.
    No problems found in the diff. The description still names head f655cfd, not befb5f2.
    Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7305053678 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2515#issuecomment-7305053678). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:14:17Z. --- **Triage (#1607)** – head befb5f2 This overlaps two older open PRs for #2453: - #1368 sets `NodeMask = 0` in `compute_container`. This PR's first commit does the same through `translated_compute_desc`. - #1420 adds the static samplers to the `driver_cache` file name. This PR's second commit does the same with `two_pass_identity::samplers_hash_into`, and also for chain pieces and the two-pass compute pass. The third commit (device layers before the `--pipelines` device) is only here. Agree with the two authors which PR carries which part, or split this one so each change is reviewed once. No problems found in the diff. The description still names head `f655cfd`, not `befb5f2`. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2515:upstream-pr/2515'
git switch 'upstream-pr/2515'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2515'
git switch 'upstream-pr/2515'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2515'
git switch 'upstream-pr/2515'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2515'
git switch 'main'
git merge --squash 'upstream-pr/2515'
git switch 'main'
git merge --ff-only 'upstream-pr/2515'
git switch 'main'
git merge 'upstream-pr/2515'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!2505
No description provided.