Recompiler: the rerouted shader cache checks fresh DXIL and chain pieces #2525

Closed
xpatfussy69x wants to merge 1 commit from upstream-pr/2535 into main
xpatfussy69x commented 2026-11-25 21:54:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by xpatfussy69x on 2026-11-25T21:54:33Z.


Part of #2463 (item 3; items 1 and 2 are not in this change). cached_in refuses freshly translated DXIL that is not a container, but cached_rerouted, the path of compute programs too big for the HLSL path (pso::enormous), handed it on and wrote it to disk. store_in checked only the main DXIL, so a split program with a bad dispatch-chain piece was written although load_in always refuses it. Both now use valid_containers, which checks the DXIL and every piece, as load_in does.

Item 3's other half (direct_output() without compact_nest_tag()) is already fixed on main: direct_output_identity takes the nest tag.

What is in it

  • crates/xcl/src/gpu/recomp/pso.rs: translated::valid_containers; store_in and cached_rerouted's fresh output use it (the latter returns the same error cached_in gives)
  • crates/xcl/src/gpu/recomp/pso.rs: rerouted_cache_validates_fresh_dxil_and_chain_pieces: invalid fresh DXIL and a split program with one bad piece are both refused by cached_rerouted and nothing reaches the disk; store_in skips the bad split program and writes a valid one. Fails without the fix (invalid fresh DXIL comes back Ok)

Tested

  • NVIDIA GeForce RTX 3060 (driver 32.0.16.2124, 32-lane waves only), AMD Ryzen 5 7500F, Windows 11, Rust 1.100.0, debug build for the tests, release for the smoke runs
  • cargo test --workspace -- --test-threads=4: 1424 passed, 0 failed, 46 ignored
  • SKIPPED (25): 21 × no wave64; 1 × no heap windows; 3 × per-lane form refused V_MUL_F16 / V_PK_MUL_F16 / V_CVT_F16_F32 (on main too; #2182 removes them)
  • cargo test -p xcl --lib gpu::recomp::pso: 25 passed, 0 failed, 1 ignored

Regression run

main:

xcl-smoke v1
commit: 6d12f58a229bc73889878a448c64dc3af25eeba0
gpu: NVIDIA GeForce RTX 3060
title: c3f791f3
seconds: 60
exit: 0x0
frames shown: 1130 (PresentX 1130)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14808 MB

PR:

xcl-smoke v1
commit: 1e4a2c787a074b1aa541465bc709801d45babb18
gpu: NVIDIA GeForce RTX 3060
title: c3f791f3
seconds: 60
exit: 0x0
frames shown: 1088 (PresentX 1088)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14811 MB

Not tested

  • Whether the title sends a shader down the rerouted path in this run: a regression check only
  • The main run is on 6d12f58, this branch's base is e1d84b7 (both commits of main)
  • AMD / native wave64

AI use

  • Claude Code, Claude Opus 5.5: wrote the fix, the test and this description, ran the tests and the PR's smoke run on the hardware above (the main run is from earlier today on the same machine and title)
<!-- greyfinch-sync:ivall/xcl:issue:5499825942 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2535). Originally posted by [xpatfussy69x](https://github.com/xpatfussy69x) on 2026-11-25T21:54:33Z. --- Part of #2463 (item 3; items 1 and 2 are not in this change). `cached_in` refuses freshly translated DXIL that is not a container, but `cached_rerouted`, the path of compute programs too big for the HLSL path (`pso::enormous`), handed it on and wrote it to disk. `store_in` checked only the main DXIL, so a split program with a bad dispatch-chain piece was written although `load_in` always refuses it. Both now use `valid_containers`, which checks the DXIL and every piece, as `load_in` does. Item 3's other half (`direct_output()` without `compact_nest_tag()`) is already fixed on `main`: `direct_output_identity` takes the nest tag. **What is in it** - `crates/xcl/src/gpu/recomp/pso.rs`: `translated::valid_containers`; `store_in` and `cached_rerouted`'s fresh output use it (the latter returns the same error `cached_in` gives) - `crates/xcl/src/gpu/recomp/pso.rs`: `rerouted_cache_validates_fresh_dxil_and_chain_pieces`: invalid fresh DXIL and a split program with one bad piece are both refused by `cached_rerouted` and nothing reaches the disk; `store_in` skips the bad split program and writes a valid one. Fails without the fix (invalid fresh DXIL comes back `Ok`) **Tested** - NVIDIA GeForce RTX 3060 (driver 32.0.16.2124, 32-lane waves only), AMD Ryzen 5 7500F, Windows 11, Rust 1.100.0, debug build for the tests, release for the smoke runs - `cargo test --workspace -- --test-threads=4`: 1424 passed, 0 failed, 46 ignored - SKIPPED (25): 21 × no wave64; 1 × no heap windows; 3 × per-lane form refused `V_MUL_F16` / `V_PK_MUL_F16` / `V_CVT_F16_F32` (on `main` too; #2182 removes them) - `cargo test -p xcl --lib gpu::recomp::pso`: 25 passed, 0 failed, 1 ignored **Regression run** main: ``` xcl-smoke v1 commit: 6d12f58a229bc73889878a448c64dc3af25eeba0 gpu: NVIDIA GeForce RTX 3060 title: c3f791f3 seconds: 60 exit: 0x0 frames shown: 1130 (PresentX 1130) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14808 MB ``` PR: ``` xcl-smoke v1 commit: 1e4a2c787a074b1aa541465bc709801d45babb18 gpu: NVIDIA GeForce RTX 3060 title: c3f791f3 seconds: 60 exit: 0x0 frames shown: 1088 (PresentX 1088) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14811 MB ``` **Not tested** - Whether the title sends a shader down the rerouted path in this run: a regression check only - The main run is on `6d12f58`, this branch's base is `e1d84b7` (both commits of `main`) - AMD / native wave64 **AI use** - Claude Code, Claude Opus 5.5: wrote the fix, the test and this description, ran the tests and the PR's smoke run on the hardware above (the main run is from earlier today on the same machine and title)
emirduran707 commented 2026-11-25 23:09:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by emirduran707 on 2026-11-25T22:10:16Z.


Independent AMD RDNA4 (native wave64) test report on exact head 1e4a2c787a074b1aa541465bc709801d45babb18 (clean detached checkout, no local changes).

Tested

  • AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64, driver 32.0.31044.16), Ryzen 5 5600, 32 GB RAM, Windows 11 Pro 26300, Rust 1.100.0 (stable-x86_64-pc-windows-msvc), DXC 1.9.2602.17; tests debug, smoke release.
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4: 1422 passed, 2 failed, 46 ignored; 8 SKIPPED (6 in lower_dxil::tests::{f16,f32}_programs_on_the_gpu refused by per-lane form; heap_window_out_of_memory_falls_back_to_the_switch_form; pso_measurement_compiles_an_exact_synthetic_record). All native wave64 GPU tests ran and passed.
    • The PR's test passed: gpu::recomp::pso::shader_cache_tests::rerouted_cache_validates_fresh_dxil_and_chain_pieces.
    • The 2 failures (gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 seed 722 and fuzz_validate_and_gpu_3 seed 1599) are pre-existing on unmodified main on this GPU.

Regression run (60 s retail-title smoke, XCL_NETWORK=0, release)

xcl-smoke v1
commit: 1e4a2c787a074b1aa541465bc709801d45babb18
gpu: AMD Radeon RX 9060 XT
title: 21222967
seconds: 60
exit: 0x0
frames shown: 1609 (PresentX 1609)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13931 MB

(Matched main 68a284a baseline on the same machine today: 1573 frames, 14420 MB peak, 0 device removals, 0 crashes.)

Not tested

  • D3D12 debug layer; Intel GPUs.

AI use

  • Antigravity with Gemini 4 Neon ran the build, test suite, and smoke run and drafted this report.
<!-- greyfinch-sync:ivall/xcl:comment:7176025326 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2535#issuecomment-7176025326). Originally posted by [emirduran707](https://github.com/emirduran707) on 2026-11-25T22:10:16Z. --- Independent AMD RDNA4 (native wave64) test report on exact head `1e4a2c787a074b1aa541465bc709801d45babb18` (clean detached checkout, no local changes). **Tested** - AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64, driver 32.0.31044.16), Ryzen 5 5600, 32 GB RAM, Windows 11 Pro 26300, Rust 1.100.0 (`stable-x86_64-pc-windows-msvc`), DXC 1.9.2602.17; tests debug, smoke release. - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4`: **1422 passed, 2 failed, 46 ignored; 8 SKIPPED** (6 in `lower_dxil::tests::{f16,f32}_programs_on_the_gpu` refused by per-lane form; `heap_window_out_of_memory_falls_back_to_the_switch_form`; `pso_measurement_compiles_an_exact_synthetic_record`). All native wave64 GPU tests ran and passed. - The PR's test passed: `gpu::recomp::pso::shader_cache_tests::rerouted_cache_validates_fresh_dxil_and_chain_pieces`. - The 2 failures (`gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` seed 722 and `fuzz_validate_and_gpu_3` seed 1599) are pre-existing on unmodified `main` on this GPU. **Regression run** (60 s retail-title smoke, `XCL_NETWORK=0`, release) ``` xcl-smoke v1 commit: 1e4a2c787a074b1aa541465bc709801d45babb18 gpu: AMD Radeon RX 9060 XT title: 21222967 seconds: 60 exit: 0x0 frames shown: 1609 (PresentX 1609) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 13931 MB ``` (Matched `main` `68a284a` baseline on the same machine today: 1573 frames, 14420 MB peak, 0 device removals, 0 crashes.) **Not tested** - D3D12 debug layer; Intel GPUs. **AI use** - Antigravity with Gemini 4 Neon ran the build, test suite, and smoke run and drafted this report.
DavidM1911 commented 2026-11-25 23:09:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T22:17:46Z.


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:7176183649 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2535#issuecomment-7176183649). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T22:17:46Z. --- 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:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T23:07:59Z.


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 rerouted_cache_validates_fresh_dxil_and_chain_pieces: 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:7177183953 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2535#issuecomment-7177183953). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-25T23:07:59Z. --- **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 `rerouted_cache_validates_fresh_dxil_and_chain_pieces`: 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.
Prime1997 commented 2026-11-26 13:30:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Prime1997 on 2026-11-26T13:30:29Z.

Review: COMMENTED


Good within the targeted test scope; retain for integration. Rejects invalid whole or split DXIL containers before persisting a rerouted translation cache result.

Reviewed PR head 1e4a2c787a074b1aa541465bc709801d45babb18. Tested an isolated, uncommitted merge-tree integration with latest main b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7, tree 661f687b98fb63adc515fe16b7cf71ae4a956b76; this is not a clean PR-head run. Integration source overlay SHA-256: 5fe54447ce09bdcf7648555bd5ebea51c17438b284d15cbeb2cc485b67c4fd08.

Measured: 1 passed, 0 failed, 0 ignored, 0 skipped. Exact selected filters, each run in a fresh process:

  • gpu::recomp::pso::shader_cache_tests::rerouted_cache_validates_fresh_dxil_and_chain_pieces

Build: cargo test --locked --offline -p xcl --lib --no-run --message-format=json --target-dir <isolated-target>. Run each: <test-exe> <exact-filter> --exact --test-threads=1 --nocapture. Private target/executable paths are placeholders. Windows 11 Pro 26200, i5-10400, 32 GiB, Rust 1.100.0 MSVC debug; private temporary/cache paths, two low-priority build jobs, 90-second per-test bound.

Scope: Synthetic container and private-file fixture checks invalid whole/piece refusal and valid split persistence. It does not validate DXIL program semantics with a compiler or device. No full suite, retail run, sustained memory pressure or performance benefit is established. Passing these fixtures is not merge certification.

AI use: Codex (GPT-6) inspected the changes and fixtures, ran the checks and verified raw receipts. Optional temporary Discord for coordinating contributor work, testing and comparing results.

<!-- greyfinch-sync:ivall/xcl:review:6074980257 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2535#pullrequestreview-6074980257). Originally posted by [Prime1997](https://github.com/Prime1997) on 2026-11-26T13:30:29Z. **Review:** COMMENTED --- **Good within the targeted test scope; retain for integration.** Rejects invalid whole or split DXIL containers before persisting a rerouted translation cache result. Reviewed PR head `1e4a2c787a074b1aa541465bc709801d45babb18`. Tested an isolated, uncommitted merge-tree integration with latest main `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`, tree `661f687b98fb63adc515fe16b7cf71ae4a956b76`; this is not a clean PR-head run. Integration source overlay SHA-256: `5fe54447ce09bdcf7648555bd5ebea51c17438b284d15cbeb2cc485b67c4fd08`. **Measured: 1 passed, 0 failed, 0 ignored, 0 skipped.** Exact selected filters, each run in a fresh process: - `gpu::recomp::pso::shader_cache_tests::rerouted_cache_validates_fresh_dxil_and_chain_pieces` Build: `cargo test --locked --offline -p xcl --lib --no-run --message-format=json --target-dir <isolated-target>`. Run each: `<test-exe> <exact-filter> --exact --test-threads=1 --nocapture`. Private target/executable paths are placeholders. Windows 11 Pro 26200, i5-10400, 32 GiB, Rust 1.100.0 MSVC debug; private temporary/cache paths, two low-priority build jobs, 90-second per-test bound. **Scope:** Synthetic container and private-file fixture checks invalid whole/piece refusal and valid split persistence. It does not validate DXIL program semantics with a compiler or device. No full suite, retail run, sustained memory pressure or performance benefit is established. Passing these fixtures is not merge certification. AI use: Codex (GPT-6) inspected the changes and fixtures, ran the checks and verified raw receipts. Optional temporary [Discord](https://discord.gg/gK3y7WRRY) for coordinating contributor work, testing and comparing results.
throny commented 2026-11-26 16:48:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-26T16:48:39Z.


Two contributors checked independently and found that this PR makes the same change as #2540 (for #2463): #1607, group D121. They suggest keeping #2540. If you agree, closing this PR or joining the other one would save the maintainers a review. If the two differ in a way the checks missed, a note in #1607 helps.

This is a hint from the community triage in #1607, not a maintainer decision.

AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.

<!-- greyfinch-sync:ivall/xcl:comment:7198124283 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2535#issuecomment-7198124283). Originally posted by [throny](https://github.com/throny) on 2026-11-26T16:48:39Z. --- <!-- xcl-1607-hint:D121 --> Two contributors checked independently and found that this PR makes the same change as #2540 (for #2463): #1607, group D121. They suggest keeping #2540. If you agree, closing this PR or joining the other one would save the maintainers a review. If the two differ in a way the checks missed, a note in #1607 helps. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.
Decodere commented 2026-11-26 18:34:05 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-26T18:34:05Z.


Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2535 at 1e4a2c787a074b1aa541465bc709801d45babb18 (exact parent & merge-base e1d84b7d9153f86a97d2ec5d209d196046fc0bea). Measurements and targeted test results only; not a full source review.

Setup

  • GPU: NVIDIA GeForce RTX 4060 (8 GB / 7956 MiB reported by D3D12), driver 32.0.16.2114 (NVIDIA 621.14, WDDM 3.2)
  • CPU / RAM / OS: Intel Core i5-11400F (6 cores / 12 threads), 32 GB RAM (31.9 GiB usable), Windows 11 Home 26200
  • Toolchain / caches: rustc 1.100.0 (0ef1bc386 2026-11-09), DXC 1.9.2609.5, release builds, warm DXIL/pipeline caches, quiet machine (zero concurrent builds/tests during timed runs)
  • Workload: Retail workload title: 29640639 via scripts/smoke.ps1 -Seconds 60 (XCL_NETWORK=0, default flags, no input)

Targeted RTX 4060 release unit tests (1e4a2c78)

  • cargo test --release -p xcl --lib rerouted_cache_validates_fresh_dxil_and_chain_pieces -- --nocapture: 1 passed, 0 failed, 0 ignored (0.00 s, 0 SKIPPED).
  • cargo test --release -p xcl --lib gpu::recomp::pso:: (3 consecutive parallel passes): 25 passed, 0 failed, 1 ignored (repeated_pso_shader_compile bench ignored) on all 3 passes (0.10 s / 0.08 s / 0.08 s, 0 SKIPPED).

Paired 60 s RTX 4060 smoke (exact parent e1d84b7d vs 1e4a2c78)

Both runs completed cleanly at steady 60/2 s pacing with 0 device removals and 0 crashes (1e4a2c78 vs e1d84b7d xcl.log: 6,115 / 6,115 MB vs 6,116 / 6,116 MB peak/end local VRAM, 4,651 MB vs 4,650 MB end non-local VRAM, 19,537 vs 19,261 translated draws / 1,024 dispatches with 0 skipped).

Exact parent (e1d84b7d):

xcl-smoke v1
commit: e1d84b7d9153f86a97d2ec5d209d196046fc0bea
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1531 (PresentX 1531)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13982 MB

PR #2535 head (1e4a2c78):

xcl-smoke v1
commit: 1e4a2c787a074b1aa541465bc709801d45babb18
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1583 (PresentX 1583)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13968 MB

Limits of coverage

  • Full workspace test suite was not run on 1e4a2c78 (only rerouted_cache_validates_fresh_dxil_and_chain_pieces, 3 parallel passes of gpu::recomp::pso::, release build, and exact-parent paired 60 s smokes).
  • The 60 s smoke ran with warm DXIL/pipeline caches and did not trigger cold enormous-shader rerouting live; validation of freshly compiled whole/split DXIL containers before rerouted cache persistence was exercised by the targeted release unit test above.
  • Single discrete NVIDIA 8 GB GPU (RTX 4060) on native Windows 11; no AMD, Intel, or Wine/Linux run on this host.

AI use

Ran the targeted release unit tests, release build, and exact-parent paired quiet 60 s smoke runs with assistance from Google Antigravity (Gemini 4 Neon); all test counts, timings, memory figures, and smoke blocks were extracted directly from cargo test, xcl.log, and scripts/smoke.ps1 outputs.

<!-- greyfinch-sync:ivall/xcl:comment:7200608152 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2535#issuecomment-7200608152). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-26T18:34:05Z. --- **Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2535 at `1e4a2c787a074b1aa541465bc709801d45babb18`** (exact parent & merge-base `e1d84b7d9153f86a97d2ec5d209d196046fc0bea`). Measurements and targeted test results only; not a full source review. ### Setup - **GPU:** NVIDIA GeForce RTX 4060 (8 GB / `7956 MiB` reported by D3D12), driver `32.0.16.2114` (NVIDIA `621.14`, WDDM 3.2) - **CPU / RAM / OS:** Intel Core i5-11400F (6 cores / 12 threads), 32 GB RAM (`31.9 GiB` usable), Windows 11 Home `26200` - **Toolchain / caches:** `rustc 1.100.0 (0ef1bc386 2026-11-09)`, DXC `1.9.2609.5`, release builds, warm DXIL/pipeline caches, quiet machine (zero concurrent builds/tests during timed runs) - **Workload:** Retail workload `title: 29640639` via `scripts/smoke.ps1 -Seconds 60` (`XCL_NETWORK=0`, default flags, no input) ### Targeted RTX 4060 release unit tests (`1e4a2c78`) - `cargo test --release -p xcl --lib rerouted_cache_validates_fresh_dxil_and_chain_pieces -- --nocapture`: **1 passed, 0 failed, 0 ignored** (`0.00 s`, `0` `SKIPPED`). - `cargo test --release -p xcl --lib gpu::recomp::pso::` (3 consecutive parallel passes): **25 passed, 0 failed, 1 ignored** (`repeated_pso_shader_compile` bench ignored) on all 3 passes (`0.10 s` / `0.08 s` / `0.08 s`, `0` `SKIPPED`). ### Paired 60 s RTX 4060 smoke (exact parent `e1d84b7d` vs `1e4a2c78`) Both runs completed cleanly at steady 60/2 s pacing with `0` device removals and `0` crashes (`1e4a2c78` vs `e1d84b7d` `xcl.log`: `6,115` / `6,115 MB` vs `6,116` / `6,116 MB` peak/end local VRAM, `4,651 MB` vs `4,650 MB` end non-local VRAM, `19,537` vs `19,261` translated draws / `1,024` dispatches with `0` skipped). Exact parent (`e1d84b7d`): ``` xcl-smoke v1 commit: e1d84b7d9153f86a97d2ec5d209d196046fc0bea gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1531 (PresentX 1531) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 13982 MB ``` PR #2535 head (`1e4a2c78`): ``` xcl-smoke v1 commit: 1e4a2c787a074b1aa541465bc709801d45babb18 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1583 (PresentX 1583) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 13968 MB ``` ### Limits of coverage - Full workspace test suite was not run on `1e4a2c78` (only `rerouted_cache_validates_fresh_dxil_and_chain_pieces`, 3 parallel passes of `gpu::recomp::pso::`, release build, and exact-parent paired 60 s smokes). - The 60 s smoke ran with warm DXIL/pipeline caches and did not trigger cold enormous-shader rerouting live; validation of freshly compiled whole/split DXIL containers before rerouted cache persistence was exercised by the targeted release unit test above. - Single discrete NVIDIA 8 GB GPU (`RTX 4060`) on native Windows 11; no AMD, Intel, or Wine/Linux run on this host. ### AI use Ran the targeted release unit tests, release build, and exact-parent paired quiet 60 s smoke runs with assistance from Google Antigravity (Gemini 4 Neon); all test counts, timings, memory figures, and smoke blocks were extracted directly from `cargo test`, `xcl.log`, and `scripts/smoke.ps1` outputs.
xpatfussy69x commented 2026-11-26 21:56:55 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by xpatfussy69x on 2026-11-26T21:56:55Z.


Closing in favour of #2540, as the triage in #1607 suggests: it makes the same change for #2463 item 3 and also validates cached_in and the chain's shape. Thanks to Prime1997 and Decodere for testing this one.

<!-- greyfinch-sync:ivall/xcl:comment:7204213458 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2535#issuecomment-7204213458). Originally posted by [xpatfussy69x](https://github.com/xpatfussy69x) on 2026-11-26T21:56:55Z. --- Closing in favour of #2540, as the triage in #1607 suggests: it makes the same change for #2463 item 3 and also validates `cached_in` and the chain's shape. Thanks to Prime1997 and Decodere for testing this one.

Pull request closed

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!2525
No description provided.