DXIL split: prune piece-local features after optimize and transport f16/f64 #2334

Open
Decodere wants to merge 1 commit from upstream-pr/2344 into main
Decodere commented 2026-11-25 16:08:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-25T16:08:12Z.


Part of #2088
Part of #1269

What is in it

Follow-up to #2080 in compute dispatch splitting (crates/xcl/src/gpu/dxil/module/split.rs) fixing two classes of shaders that were previously refused during splitting and fell back to compiling whole:

  1. Per-piece feature inference after optimization (make_piece, infer_piece_features, trace_atomic64_handle):
    • Run dst.m.optimize() before dst.infer_piece_features() and emit pieces via dst.finish_optimized(threads, Some(32)) instead of inferring flags before optimization and scanning dead self.m.insts entries.
    • Scan only live instructions in self.m.blocks.iter().flatten() and re-infer piece-local flags to match DXC 1.9 (DxilShaderFlags): ResourceHeapIndexing, SamplerHeapIndexing, WaveOps (dx.op.wave* / dx.op.quad*), TiledResources (dx.op.checkAccessFullyMapped and sample ops with a non-undef, non-zero-constant LOD clamp), TypedUavLoadAdditionalFormats (multi-component typed UAV dx.op.textureLoad* / dx.op.bufferLoad* via annotateHandle properties, with fallback), NativeLowPrecision (kept only when the whole shader used it and the piece has live half / i16 instructions), DoubleExtensions (dx.op.tertiary.f64 Fma op 47 in addition to finish_optimized's infer_type_features), and 64-bit atomics (AtomicInt64GroupShared for 64-bit AtomicRmw/CmpXchg, plus tracing live dx.op.atomicBinOp.i64 / dx.op.atomicCompareExchange.i64 handles through annotateHandle, createHandleFromHeap, createHandleFromBinding, Phi, and Select to restore AtomicInt64Typed, AtomicInt64Heap, and per-binding b.atomic64 metadata with conservative fallback on unrecognized handles).
  2. Live f16 and f64 transport across cuts (transport_words, pack, unpack):
    • Transport TypeDef::Half in 1 scratch word (bitcast half -> i16 + zext i16 -> i32, restored via trunc i32 -> i16 + bitcast i16 -> half) and TypeDef::Double in 2 scratch words (Shader::split_double / Shader::make_double).
  3. Regression tests (split::tests):
    • dispatch_chain_prunes_piece_local_features_after_optimize: pure-CPU + DXC 1.9 validator test covering clamped sample_grad (0.5 setting TiledResources and 0.0 clearing it per DXC 1.9 hasSampleClamp) with a cross-cut heap handle, plus split-wave64 isolation of WaveOps, NativeLowPrecision, and DoubleExtensions (Tertiary::Fma op 47).
    • dispatch_chain_restores_atomic64_typed_and_heap_features: pure-CPU + DXC 1.9 validator test covering split pieces with static typed i64 UAV atomics (u4 -> AtomicInt64Typed and per-binding i32 3, i32 1 only on u4), static raw i64 UAV atomics (u5 -> per-binding i32 3, i32 1 only on u5, neither typed nor heap flag), heap raw i64 UAV atomics (AtomicInt64Heap only), and heap typed i64 UAV atomicCompareExchange.i64 (AtomicInt64Typed | AtomicInt64Heap), while asserting pieces without i64 atomics prune those flags and binding tags.
    • dispatch_chain_transports_live_f16_across_cuts: DXC 1.9 validation of a 3-piece chain where live f16 (including -0.0f16 in lane 0) crosses cuts over an intermediate piece that uses no f16 ops, plus GPU execution gated only on runner::wave32_supported() and D3D12_FEATURE_D3D12_OPTIONS4::Native16BitShaderOpsSupported (so FP16-capable GPUs without FP64, such as Intel Arc A770, execute live f16 transport directly).
    • dispatch_chain_transports_live_f16_and_f64_across_cuts: DXC 1.9 validation of a 3-piece chain where live f16 (including -0.0f16) and f64 cross cuts over an intermediate piece that uses neither type, plus skip_test-guarded bit-for-bit GPU readback gated on runner::wave32_supported(), Native16BitShaderOpsSupported, and D3D12_FEATURE_D3D12_OPTIONS::DoublePrecisionFloatShaderOps (gpu_float_ops_support(), addressing @JJAutoCompare's Arc A770 0x80070057 test-gate report; strictly #[cfg(test)]-only vs c24f3e97 with 0 production lines changed).

Tested

  • Pre-fix failing-first (CPU + DXC 1.9.2609.5):
    • Before #2344 (0829441): dispatch_chain_prunes_piece_local_features_after_optimize refused piece 1 of 2 (error: Flags must match usage.) and dispatch_chain_transports_live_f16_and_f64_across_cuts returned None from split_compute (transport_words rejected Half / Double).
    • Before the 64-bit resource atomic restoration fix (e26cba1): dispatch_chain_restores_atomic64_typed_and_heap_features failed (piece 2 of 3 refused, the program stays whole: error: Flags must match usage.).
  • Post-fix on current head 5ed6946e (0 production lines changed vs c24f3e97, rustc 1.100.0, DXC 1.9.2609.5, NVIDIA GeForce RTX 4060 8 GB driver 621.14, Windows 11 26200):
    • cargo clippy --all-targets -- -A clippy::approx_constant: exit 0, 0 warnings and 0 errors in crates/xcl/src/gpu/dxil/module/split.rs.
    • 3x Debug WARP (XCL_ADAPTER=warp) cargo test -p xcl --lib -- gpu::dxil::module::split::tests:: --nocapture --test-threads=1: 12 passed, 0 failed, 0 ignored (0.06 s each); all pure-CPU/DXC 1.9 validation checks (including both dispatch_chain_transports_live_f16_across_cuts and dispatch_chain_transports_live_f16_and_f64_across_cuts) validated all 3 split pieces + whole shader with DXC 1.9 before skipping GPU execution (SKIPPED: no wave32 GPU).
    • 3x Release RTX 4060 cargo test --release -p xcl --lib -- gpu::dxil::module::split::tests:: --nocapture --test-threads=1: 12 passed, 0 failed, 0 ignored (0.30-0.37 s, 0 skipped — both f16 and f16+f64 GPU transport tests executed bit-for-bit on GPU).
    • Mergeability: git merge-tree --write-tree origin/main HEAD exits 0 against live origin/main (8b957bec).
  • Cold NVIDIA GeForce RTX 4060 CreateComputePipelineState timings (measured on c24f3e97, identical production code; fresh-named .exe copies per mode with unique bytecode salt, verified cold by immediate 2nd warm call, on synthetic 16-loop shaders that 0829441 refused to split):
    • tiled_clamp (hash a1baa443fcac1d43, 1,465 DXIL insts, 16,996 B whole -> 6 pieces): whole cold 53.78 ms (warm 0.411 ms) vs parallel 6-piece cold wall 28.23 ms (max piece 27.54 ms, sum 90.97 ms, max warm 1.147 ms) — 1.91x faster cold wall (-47.5%).
    • live_f16_f64 (hash 95eb3b58dad86457, 1,470 DXIL insts, 17,008 B whole -> 6 pieces): whole cold 37.18 ms (warm 0.375 ms) vs parallel 6-piece cold wall 20.50 ms (max piece 19.48 ms, sum 87.19 ms, max warm 0.359 ms) — 1.81x faster cold wall (-44.9%).
  • Full release workspace (measured on c24f3e97, identical production code, atop exact parent 6d12f58a): cargo test --release --workspace --no-fail-fast -- --test-threads=4 --nocapture on RTX 4060: 37 test binaries, 1426 passed, 0 failed, 46 ignored (186/186 gpu::dxil::*); 29 pre-existing hardware/debug-layer SKIPPED lines (0 in split::tests): 21 no wave64 (RTX 4060 is wave32-only), 3 per-lane form: refused (lower_dxil::tests wave32 per-lane), 3 no D3D12 debug layer / no d3d12SDKLayers.dll, 1 cannot disable the driver cache (shaders::tests::pso_measurement_compiles_an_exact_synthetic_record), 1 no heap windows (heap_window_out_of_memory_falls_back_to_the_switch_form).

Regression run

main ancestor (889ef3e8aa7f267323ab4879e735e65da6bcef10):

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

PR head (5ed6946efba188ba5fe3646b9ac494d9dbad4931):

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

Not tested

  • Wave64-capable hardware (RTX 4060 is wave32-only), AMD/Intel GPUs locally (including hardware lacking Native16BitShaderOpsSupported or DoublePrecisionFloatShaderOps such as Intel Arc A770).
  • D3D12 debug layer tests (d3d12SDKLayers.dll is not installed on this host).

AI use

Google Antigravity (Gemini 4 Neon) assisted with checking DXC 1.9 DxilShaderFlags rules, implementing per-piece feature inference (including 64-bit resource atomic handle classification) and f16/f64 transport in split.rs, adding regression tests (including the Arc A770 DoublePrecisionFloatShaderOps test gate and standalone f16 transport test), and running the verification suite, cold-PSO benchmarks, and retail smoke run.

<!-- greyfinch-sync:ivall/xcl:issue:5494826630 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-25T16:08:12Z. --- Part of #2088 Part of #1269 **What is in it** Follow-up to #2080 in compute dispatch splitting (`crates/xcl/src/gpu/dxil/module/split.rs`) fixing two classes of shaders that were previously refused during splitting and fell back to compiling whole: 1. **Per-piece feature inference after optimization (`make_piece`, `infer_piece_features`, `trace_atomic64_handle`):** - Run `dst.m.optimize()` before `dst.infer_piece_features()` and emit pieces via `dst.finish_optimized(threads, Some(32))` instead of inferring flags before optimization and scanning dead `self.m.insts` entries. - Scan only live instructions in `self.m.blocks.iter().flatten()` and re-infer piece-local flags to match DXC 1.9 (`DxilShaderFlags`): `ResourceHeapIndexing`, `SamplerHeapIndexing`, `WaveOps` (`dx.op.wave*` / `dx.op.quad*`), `TiledResources` (`dx.op.checkAccessFullyMapped` and sample ops with a non-undef, non-zero-constant LOD clamp), `TypedUavLoadAdditionalFormats` (multi-component typed UAV `dx.op.textureLoad*` / `dx.op.bufferLoad*` via `annotateHandle` properties, with fallback), `NativeLowPrecision` (kept only when the whole shader used it and the piece has live `half` / `i16` instructions), `DoubleExtensions` (`dx.op.tertiary.f64` `Fma` op 47 in addition to `finish_optimized`'s `infer_type_features`), and 64-bit atomics (`AtomicInt64GroupShared` for 64-bit `AtomicRmw`/`CmpXchg`, plus tracing live `dx.op.atomicBinOp.i64` / `dx.op.atomicCompareExchange.i64` handles through `annotateHandle`, `createHandleFromHeap`, `createHandleFromBinding`, `Phi`, and `Select` to restore `AtomicInt64Typed`, `AtomicInt64Heap`, and per-binding `b.atomic64` metadata with conservative fallback on unrecognized handles). 2. **Live `f16` and `f64` transport across cuts (`transport_words`, `pack`, `unpack`):** - Transport `TypeDef::Half` in 1 scratch word (`bitcast half -> i16` + `zext i16 -> i32`, restored via `trunc i32 -> i16` + `bitcast i16 -> half`) and `TypeDef::Double` in 2 scratch words (`Shader::split_double` / `Shader::make_double`). 3. **Regression tests (`split::tests`):** - `dispatch_chain_prunes_piece_local_features_after_optimize`: pure-CPU + DXC 1.9 validator test covering clamped `sample_grad` (`0.5` setting `TiledResources` and `0.0` clearing it per DXC 1.9 `hasSampleClamp`) with a cross-cut heap handle, plus split-wave64 isolation of `WaveOps`, `NativeLowPrecision`, and `DoubleExtensions` (`Tertiary::Fma` op 47). - `dispatch_chain_restores_atomic64_typed_and_heap_features`: pure-CPU + DXC 1.9 validator test covering split pieces with static typed `i64` UAV atomics (`u4` -> `AtomicInt64Typed` and per-binding `i32 3, i32 1` only on `u4`), static raw `i64` UAV atomics (`u5` -> per-binding `i32 3, i32 1` only on `u5`, neither typed nor heap flag), heap raw `i64` UAV atomics (`AtomicInt64Heap` only), and heap typed `i64` UAV `atomicCompareExchange.i64` (`AtomicInt64Typed | AtomicInt64Heap`), while asserting pieces without `i64` atomics prune those flags and binding tags. - `dispatch_chain_transports_live_f16_across_cuts`: DXC 1.9 validation of a 3-piece chain where live `f16` (including `-0.0f16` in lane 0) crosses cuts over an intermediate piece that uses no `f16` ops, plus GPU execution gated only on `runner::wave32_supported()` and `D3D12_FEATURE_D3D12_OPTIONS4::Native16BitShaderOpsSupported` (so FP16-capable GPUs without FP64, such as Intel Arc A770, execute live `f16` transport directly). - `dispatch_chain_transports_live_f16_and_f64_across_cuts`: DXC 1.9 validation of a 3-piece chain where live `f16` (including `-0.0f16`) and `f64` cross cuts over an intermediate piece that uses neither type, plus `skip_test`-guarded bit-for-bit GPU readback gated on `runner::wave32_supported()`, `Native16BitShaderOpsSupported`, and `D3D12_FEATURE_D3D12_OPTIONS::DoublePrecisionFloatShaderOps` (`gpu_float_ops_support()`, addressing `@JJAutoCompare`'s Arc A770 `0x80070057` test-gate report; strictly `#[cfg(test)]`-only vs `c24f3e97` with `0` production lines changed). **Tested** - Pre-fix failing-first (CPU + DXC `1.9.2609.5`): - Before #2344 (`0829441`): `dispatch_chain_prunes_piece_local_features_after_optimize` refused piece 1 of 2 (`error: Flags must match usage.`) and `dispatch_chain_transports_live_f16_and_f64_across_cuts` returned `None` from `split_compute` (`transport_words` rejected `Half` / `Double`). - Before the 64-bit resource atomic restoration fix (`e26cba1`): `dispatch_chain_restores_atomic64_typed_and_heap_features` failed (`piece 2 of 3 refused, the program stays whole: error: Flags must match usage.`). - Post-fix on current head `5ed6946e` (`0` production lines changed vs `c24f3e97`, `rustc 1.100.0`, DXC `1.9.2609.5`, NVIDIA GeForce RTX 4060 8 GB driver `621.14`, Windows 11 26200): - `cargo clippy --all-targets -- -A clippy::approx_constant`: exit `0`, `0` warnings and `0` errors in `crates/xcl/src/gpu/dxil/module/split.rs`. - 3x Debug WARP (`XCL_ADAPTER=warp`) `cargo test -p xcl --lib -- gpu::dxil::module::split::tests:: --nocapture --test-threads=1`: `12 passed, 0 failed, 0 ignored` (`0.06 s` each); all pure-CPU/DXC 1.9 validation checks (including both `dispatch_chain_transports_live_f16_across_cuts` and `dispatch_chain_transports_live_f16_and_f64_across_cuts`) validated all 3 split pieces + whole shader with DXC 1.9 before skipping GPU execution (`SKIPPED: no wave32 GPU`). - 3x Release RTX 4060 `cargo test --release -p xcl --lib -- gpu::dxil::module::split::tests:: --nocapture --test-threads=1`: `12 passed, 0 failed, 0 ignored` (`0.30-0.37 s`, `0` skipped — both `f16` and `f16`+`f64` GPU transport tests executed bit-for-bit on GPU). - Mergeability: `git merge-tree --write-tree origin/main HEAD` exits `0` against live `origin/main` (`8b957bec`). - Cold NVIDIA GeForce RTX 4060 `CreateComputePipelineState` timings (measured on `c24f3e97`, identical production code; fresh-named `.exe` copies per mode with unique bytecode salt, verified cold by immediate 2nd warm call, on synthetic 16-loop shaders that `0829441` refused to split): - `tiled_clamp` (hash `a1baa443fcac1d43`, `1,465` DXIL insts, `16,996` B whole -> `6` pieces): whole cold `53.78 ms` (warm `0.411 ms`) vs parallel 6-piece cold wall `28.23 ms` (max piece `27.54 ms`, sum `90.97 ms`, max warm `1.147 ms`) — `1.91x` faster cold wall (`-47.5%`). - `live_f16_f64` (hash `95eb3b58dad86457`, `1,470` DXIL insts, `17,008` B whole -> `6` pieces): whole cold `37.18 ms` (warm `0.375 ms`) vs parallel 6-piece cold wall `20.50 ms` (max piece `19.48 ms`, sum `87.19 ms`, max warm `0.359 ms`) — `1.81x` faster cold wall (`-44.9%`). - Full release workspace (measured on `c24f3e97`, identical production code, atop exact parent `6d12f58a`): `cargo test --release --workspace --no-fail-fast -- --test-threads=4 --nocapture` on RTX 4060: `37` test binaries, `1426 passed, 0 failed, 46 ignored` (`186/186` `gpu::dxil::*`); `29` pre-existing hardware/debug-layer `SKIPPED` lines (`0` in `split::tests`): `21` `no wave64` (RTX 4060 is wave32-only), `3` `per-lane form: refused` (`lower_dxil::tests` wave32 per-lane), `3` `no D3D12 debug layer` / `no d3d12SDKLayers.dll`, `1` `cannot disable the driver cache` (`shaders::tests::pso_measurement_compiles_an_exact_synthetic_record`), `1` `no heap windows` (`heap_window_out_of_memory_falls_back_to_the_switch_form`). **Regression run** `main` ancestor (`889ef3e8aa7f267323ab4879e735e65da6bcef10`): ``` xcl-smoke v1 commit: 889ef3e8aa7f267323ab4879e735e65da6bcef10 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1550 (PresentX 1550) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 13981 MB ``` PR head (`5ed6946efba188ba5fe3646b9ac494d9dbad4931`): ``` xcl-smoke v1 commit: 5ed6946efba188ba5fe3646b9ac494d9dbad4931 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1632 (PresentX 1633) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 13975 MB ``` **Not tested** - Wave64-capable hardware (RTX 4060 is wave32-only), AMD/Intel GPUs locally (including hardware lacking `Native16BitShaderOpsSupported` or `DoublePrecisionFloatShaderOps` such as Intel Arc A770). - D3D12 debug layer tests (`d3d12SDKLayers.dll` is not installed on this host). **AI use** Google Antigravity (Gemini 4 Neon) assisted with checking DXC 1.9 `DxilShaderFlags` rules, implementing per-piece feature inference (including 64-bit resource atomic handle classification) and `f16`/`f64` transport in `split.rs`, adding regression tests (including the Arc A770 `DoublePrecisionFloatShaderOps` test gate and standalone `f16` transport test), and running the verification suite, cold-PSO benchmarks, and retail smoke run.
SlopTart commented 2026-11-25 17:07:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T16:22: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).

One red on this lane: the new transports test crashes inside d3d12core.dll under Wine.

  • gpu_ suite (--release --locked, --test-threads=2): 144 passed / 3 failed / 1 ignored, same three baseline failures as plain origin/main on this rig (rig's known baseline: fuzz seed 1003 of #2115, gpu_nonfused_mad_and_mac_prevent_fma_contraction, gpu_depth_buffer_created_for_unordered_access_is_placed).
  • dispatch_chain_prunes_piece_local_features_after_optimize: passes, targeted run.
  • dispatch_chain_transports_live_f16_and_f64_across_cuts: deterministic crash, 4/4 runs, and it is not a Rust panic. With WINEDEBUG=warn+seh (the default -all hides this), wine reports EXCEPTION_ACCESS_VIOLATION (0xc0000005); the whole unwind is inside d3d12core.dll (+0x1AB118, +0x1784EC, +0x1A1676, +0x1A7852, +0x1A9450, +0x0DF8DB) called from the test exe frame. Process exit status 5 (= 0xC0000005 truncated), which is why it looked silent at first.
  • Control context that keeps this on the PR: the rig's generic f16 coverage on the same build passes (gpu_cvt_norm_f16_exact_rounding_and_edge_cases, gpu_f16_defaults_to_round_to_nearest_even, gpu_s_round_mode_controls_f16_rounding_across_modes are all among tonight's 144), so it is not blanket f16 breakage on RADV.
  • Corroboration: the new offline_split_compute_pipeline_is_reused_by_a_second_process e2e from #2338 crashes at the same d3d12core.dll offsets on this lane (also deterministic), while the pre-existing offline_compute_pipeline_is_reused_by_a_second_process passes inside the same test binary (4 passed / 1 failed / 1 skipped). Two different new split-chain pipeline paths AV at one site in the shim; native Windows lanes (author, Aniseto, DarkPanda69) do not see it.

Reading: something in the new split-chain piece transport builds a pipeline shape this Linux stack (patched vkd3d-proton 3.1 + Mesa 26.2.5 + RADV) faults on inside the D3D12core shim. I cannot say from a stripped backtrace whether the faulting code is XCL's vkd3d-proton patch or upstream vkd3d-proton; a debug-pdb run on a Wine/Proton bot would pin it. Addresses are module-relative offsets into the vkd3d-proton 3.1 XCL-patched d3d12core.dll as shipped on this lane.

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:7167889105 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7167889105). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-25T16:22: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). **One red on this lane: the new transports test crashes inside `d3d12core.dll` under Wine.** - `gpu_` suite (`--release --locked`, `--test-threads=2`): 144 passed / 3 failed / 1 ignored, same three baseline failures as plain `origin/main` on this rig (rig's known baseline: fuzz seed 1003 of #2115, `gpu_nonfused_mad_and_mac_prevent_fma_contraction`, `gpu_depth_buffer_created_for_unordered_access_is_placed`). - `dispatch_chain_prunes_piece_local_features_after_optimize`: passes, targeted run. - `dispatch_chain_transports_live_f16_and_f64_across_cuts`: **deterministic crash, 4/4 runs**, and it is not a Rust panic. With `WINEDEBUG=warn+seh` (the default `-all` hides this), wine reports `EXCEPTION_ACCESS_VIOLATION` (0xc0000005); the whole unwind is inside `d3d12core.dll` (+0x1AB118, +0x1784EC, +0x1A1676, +0x1A7852, +0x1A9450, +0x0DF8DB) called from the test exe frame. Process exit status 5 (= 0xC0000005 truncated), which is why it looked silent at first. - Control context that keeps this on the PR: the rig's generic f16 coverage on the same build passes (`gpu_cvt_norm_f16_exact_rounding_and_edge_cases`, `gpu_f16_defaults_to_round_to_nearest_even`, `gpu_s_round_mode_controls_f16_rounding_across_modes` are all among tonight's 144), so it is not blanket f16 breakage on RADV. - Corroboration: the new `offline_split_compute_pipeline_is_reused_by_a_second_process` e2e from #2338 crashes at the **same `d3d12core.dll` offsets** on this lane (also deterministic), while the pre-existing `offline_compute_pipeline_is_reused_by_a_second_process` passes inside the same test binary (4 passed / 1 failed / 1 skipped). Two different new split-chain pipeline paths AV at one site in the shim; native Windows lanes (author, Aniseto, DarkPanda69) do not see it. Reading: something in the new split-chain piece transport builds a pipeline shape this Linux stack (patched vkd3d-proton 3.1 + Mesa 26.2.5 + RADV) faults on inside the D3D12core shim. I cannot say from a stripped backtrace whether the faulting code is XCL's vkd3d-proton patch or upstream vkd3d-proton; a debug-pdb run on a Wine/Proton bot would pin it. Addresses are module-relative offsets into the vkd3d-proton 3.1 XCL-patched `d3d12core.dll` as shipped on this lane. **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.
amazedturnip commented 2026-11-25 17:07:20 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by amazedturnip on 2026-11-25T16:26:42Z.


Independent AMD Radeon (native wave64) verification of exact head 1f70e6796fbd0a8e893d264497135a8235607321 (clean detached worktree, compared against main 3f4495a2b325).

Tested

  • Hardware / OS / Rust: AMD Ryzen 7 9800X3D 8-Core Processor, Windows 11 Pro 10.0.26100 (Build 26100), rustc 1.94.1 (e408947bf 2026-03-25), stable-x86_64-pc-windows-msvc
  • Adapter: AMD Radeon(TM) Graphics (driver 32.0.21043.19003, DXC 1.9.2609, native wave64) (XCL_ADAPTER=radeon, native wave64)
  • Targeted unit tests (debug): cargo test -p xcl --lib gpu::dxil -- --test-threads=2 — 158 passed, 1 failed, 3 ignored (exit 101); failed: gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1

Regression run (scripts/smoke.ps1 -Seconds 60, release build, XCL_ADAPTER=radeon)
main:

xcl-smoke v1
commit: 6020a33b16ba2de25b3aef5947552f2dc1831f09
gpu: AMD Radeon(TM) Graphics
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 782 (PresentX 782)
presents per 2 s (last 3): 34 2 2
device removals: 0
crashes: 0
peak commit: 13996 MB

PR:

xcl-smoke v1
commit: 6020a33b16ba2de25b3aef5947552f2dc1831f09
gpu: AMD Radeon(TM) Graphics
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 819 (PresentX 819)
presents per 2 s (last 3): 32 31 31
device removals: 0
crashes: 0
peak commit: 14067 MB

Not tested

  • Full workspace test suite and NVIDIA wave32 adapter (verified targeted subsystem tests + 60 s retail smoke on AMD Radeon native wave64 only)

AI use

  • Antigravity CLI orchestrated worktree checkout, local build/test/smoke execution, and summary formatting; all test and smoke outputs above are verbatim from this machine.
<!-- greyfinch-sync:ivall/xcl:comment:7167990975 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7167990975). Originally posted by [amazedturnip](https://github.com/amazedturnip) on 2026-11-25T16:26:42Z. --- Independent AMD Radeon (native wave64) verification of exact head `1f70e6796fbd0a8e893d264497135a8235607321` (clean detached worktree, compared against `main` `3f4495a2b325`). **Tested** - Hardware / OS / Rust: AMD Ryzen 7 9800X3D 8-Core Processor, Windows 11 Pro 10.0.26100 (Build 26100), rustc 1.94.1 (e408947bf 2026-03-25), stable-x86_64-pc-windows-msvc - Adapter: `AMD Radeon(TM) Graphics (driver 32.0.21043.19003, DXC 1.9.2609, native wave64)` (`XCL_ADAPTER=radeon`, native wave64) - Targeted unit tests (debug): `cargo test -p xcl --lib gpu::dxil -- --test-threads=2` — 158 passed, 1 failed, 3 ignored (exit 101); failed: gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 **Regression run** (`scripts/smoke.ps1 -Seconds 60`, release build, `XCL_ADAPTER=radeon`) main: ``` xcl-smoke v1 commit: 6020a33b16ba2de25b3aef5947552f2dc1831f09 gpu: AMD Radeon(TM) Graphics title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 782 (PresentX 782) presents per 2 s (last 3): 34 2 2 device removals: 0 crashes: 0 peak commit: 13996 MB ``` PR: ``` xcl-smoke v1 commit: 6020a33b16ba2de25b3aef5947552f2dc1831f09 gpu: AMD Radeon(TM) Graphics title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 819 (PresentX 819) presents per 2 s (last 3): 32 31 31 device removals: 0 crashes: 0 peak commit: 14067 MB ``` **Not tested** - Full workspace test suite and NVIDIA wave32 adapter (verified targeted subsystem tests + 60 s retail smoke on AMD Radeon native wave64 only) **AI use** - Antigravity CLI orchestrated worktree checkout, local build/test/smoke execution, and summary formatting; all test and smoke outputs above are verbatim from this machine.
raylitebull commented 2026-11-25 19:09:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T18:24:50Z.


Diff review on 1f70e67 (infer_piece_features after optimize + live 16/ 64 transport in split.rs): clean change on the compiler side and Windows native checks are green, but holding merge until the deterministic d3d12core.dll access violation reported on dispatch_chain_transports_live_f16_and_f64_across_cuts under Wine/vkd3d-proton is diagnosed and resolved.

<!-- greyfinch-sync:ivall/xcl:comment:7170873585 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7170873585). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T18:24:50Z. --- Diff review on 1f70e67 (infer_piece_features after optimize + live 16/ 64 transport in split.rs): clean change on the compiler side and Windows native checks are green, but holding merge until the deterministic d3d12core.dll access violation reported on dispatch_chain_transports_live_f16_and_f64_across_cuts under Wine/vkd3d-proton is diagnosed and resolved.
DavidM1911 commented 2026-11-25 19:09:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T18:25:27Z.


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:7170887858 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7170887858). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T18:25:27Z. --- 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!
SashaTun commented 2026-11-25 19:09:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SashaTun on 2026-11-25T18:40:20Z.


Test report on an NVIDIA card (Windows, retail title).

Tested

  • Commit: 1f70e6796fbd0a8e893d264497135a8235607321 (fix-2080-split-features-f16-f64), clean checkout of the PR head, no uncommitted changes.

  • Hardware: NVIDIA GeForce RTX 5060 (8 GB), driver 32.0.16.2101; 31.9 GB RAM; Windows 11 build 26200 x64.

  • Toolchain: Rust 1.100.0 (stable-x86_64-pc-windows-msvc); DXC 1.9 (Windows SDK 10.0.26100.0); release profile; no XCL_SAMPLE_* variables.

  • Command: cargo test --release --workspace --no-fail-fast -- --test-threads=4
    → 1270 passed, 4 failed, 46 ignored; 28 SKIPPED lines (21 of them no wave64 — this card runs 32-wide waves only).

  • The 4 failures are gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_{0,1,2,3}, all with the same error: CreateComputePipelineState: 0x8007000E (out of memory) — the 8 GB VRAM wall. The same 4 failures occur on main on this card, so they are not from this PR.

  • Regression run on a retail title (scripts/smoke.ps1, 60 s, same title, same duration, same card, both runs from a clean data directory; the main block is on the commit this branch forked from):

    xcl-smoke v1
    commit: 68a284a596bd558b6bd9db6eedda6d6aa178c360
    gpu: NVIDIA GeForce RTX 5060
    title: 3c290c16
    seconds: 60
    exit: 0x0
    frames shown: 912 (PresentX 912)
    presents per 2 s (last 3): 42 41 42
    device removals: 0
    crashes: 0
    peak commit: 15022 MB
    
    xcl-smoke v1
    commit: 1f70e6796fbd0a8e893d264497135a8235607321
    gpu: NVIDIA GeForce RTX 5060
    title: 3c290c16
    seconds: 60
    exit: 0x0
    frames shown: 855 (PresentX 856)
    presents per 2 s (last 3): 41 37 35
    device removals: 0
    crashes: 0
    peak commit: 14978 MB
    

    The PR's run shows no device removal and no crash, 855 frames against main's 912 (≥ 80 %) and a peak commit of 14 978 MB against main's 15 022 MB (≤ 125 %).

Not tested

  • AMD cards (none here) and wave64-only GPUs: this card runs 32-wide waves, so the wave64 tests skip and the split-wave64 path is the one that runs. This PR changes what a split piece declares and how f16/f64 cross a cut, so the wave32 path is where it is exercised here.
  • The title's world load: the 60 s run stays in the menus and does not reach the large compute dispatches this PR is about (the menu runs at 30–21 fps on this card, and the title's compute prestream starts much later), so this is a regression check, not a check of the PR's own behaviour. The PR's own tests cover the piece-local features and the f16/f64 transport.
  • The PR branch is 28 commits behind main, so the tree tested here is the branch head as it stands. main has one further failure on this card that this branch does not contain: gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier, a test added after the branch point. It is not card-specific - main's own CI fails on it too - and I am reporting it separately.

AI use

MiniMax Code (MiniMax-M3.1-Flash) built the commits, ran the test suite and the smoke runs, and wrote this report from the real output.

<!-- greyfinch-sync:ivall/xcl:comment:7171232571 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7171232571). Originally posted by [SashaTun](https://github.com/SashaTun) on 2026-11-25T18:40:20Z. --- **Test report on an NVIDIA card (Windows, retail title).** **Tested** - **Commit:** `1f70e6796fbd0a8e893d264497135a8235607321` (`fix-2080-split-features-f16-f64`), clean checkout of the PR head, no uncommitted changes. - **Hardware:** NVIDIA GeForce RTX 5060 (8 GB), driver `32.0.16.2101`; 31.9 GB RAM; Windows 11 build 26200 x64. - **Toolchain:** Rust `1.100.0` (`stable-x86_64-pc-windows-msvc`); DXC 1.9 (Windows SDK `10.0.26100.0`); release profile; no `XCL_SAMPLE_*` variables. - **Command:** `cargo test --release --workspace --no-fail-fast -- --test-threads=4` → **1270 passed, 4 failed, 46 ignored**; 28 `SKIPPED` lines (21 of them `no wave64` — this card runs 32-wide waves only). - **The 4 failures** are `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_{0,1,2,3}`, all with the same error: `CreateComputePipelineState: 0x8007000E` (out of memory) — the 8 GB VRAM wall. **The same 4 failures occur on `main` on this card**, so they are not from this PR. - **Regression run on a retail title** (`scripts/smoke.ps1`, 60 s, same title, same duration, same card, both runs from a clean data directory; the `main` block is on the commit this branch forked from): `````` xcl-smoke v1 commit: 68a284a596bd558b6bd9db6eedda6d6aa178c360 gpu: NVIDIA GeForce RTX 5060 title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 912 (PresentX 912) presents per 2 s (last 3): 42 41 42 device removals: 0 crashes: 0 peak commit: 15022 MB `````` `````` xcl-smoke v1 commit: 1f70e6796fbd0a8e893d264497135a8235607321 gpu: NVIDIA GeForce RTX 5060 title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 855 (PresentX 856) presents per 2 s (last 3): 41 37 35 device removals: 0 crashes: 0 peak commit: 14978 MB `````` The PR's run shows no device removal and no crash, 855 frames against `main`'s 912 (≥ 80 %) and a peak commit of 14 978 MB against `main`'s 15 022 MB (≤ 125 %). **Not tested** - **AMD cards** (none here) and wave64-only GPUs: this card runs 32-wide waves, so the wave64 tests skip and the split-wave64 path is the one that runs. This PR changes what a split piece declares and how `f16`/`f64` cross a cut, so the wave32 path is where it is exercised here. - **The title's world load:** the 60 s run stays in the menus and does not reach the large compute dispatches this PR is about (the menu runs at 30–21 fps on this card, and the title's compute prestream starts much later), so this is a regression check, not a check of the PR's own behaviour. The PR's own tests cover the piece-local features and the `f16`/`f64` transport. - The PR branch is 28 commits behind `main`, so the tree tested here is the branch head as it stands. `main` has one further failure on this card that this branch does not contain: `gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier`, a test added after the branch point. It is not card-specific - `main`'s own CI fails on it too - and I am reporting it separately. **AI use** MiniMax Code (MiniMax-M3.1-Flash) built the commits, ran the test suite and the smoke runs, and wrote this report from the real output.
Decodere commented 2026-11-25 19:09:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-25T18:44:58Z.


@raylitebull @SlopTart — Checked the code paths behind #2344 and #2338 against origin/main:

  • Neither #2344 nor #2338 modifies pso::dispatch_chain_root_signature (u0, space2 + b0, space2 8x 32-bit root constants) or split_compute's Slab::new / Scratch::new bindings; #2338's failing test (offline_split_compute_pipeline_is_reused_by_a_second_process) does not touch split.rs or use f16/f64 at all, yet crashes at the exact same 6 d3d12core.dll offsets (+0x1AB118, +0x1784EC, +0x1A1676, +0x1A7852, +0x1A9450, +0x0DF8DB) on Wine + vkd3d-proton 3.1.
  • Note that cargo test ... gpu_ does not match origin/main's pre-existing dispatch_chain_* GPU tests (dispatch_chain_wave32_live_loops, dispatch_chain_payload_skips_middle_piece, dispatch_chain_divergent_forward_edges_3d), which also call runner::dispatch_split.

@SlopTart Could you run cargo test -p xcl --lib dispatch_chain_wave32_live_loops on unmodified origin/main to confirm whether those same d3d12core.dll offsets reproduce on main's existing split-chain path under vkd3d-proton 3.1?

<!-- greyfinch-sync:ivall/xcl:comment:7171341487 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7171341487). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-25T18:44:58Z. --- `@raylitebull` `@SlopTart` — Checked the code paths behind `#2344` and `#2338` against `origin/main`: - Neither `#2344` nor `#2338` modifies `pso::dispatch_chain_root_signature` (`u0, space2` + `b0, space2` 8x 32-bit root constants) or `split_compute`'s `Slab::new` / `Scratch::new` bindings; `#2338`'s failing test (`offline_split_compute_pipeline_is_reused_by_a_second_process`) does not touch `split.rs` or use `f16`/`f64` at all, yet crashes at the exact same 6 `d3d12core.dll` offsets (`+0x1AB118, +0x1784EC, +0x1A1676, +0x1A7852, +0x1A9450, +0x0DF8DB`) on Wine + vkd3d-proton 3.1. - Note that `cargo test ... gpu_` does not match `origin/main`'s pre-existing `dispatch_chain_*` GPU tests (`dispatch_chain_wave32_live_loops`, `dispatch_chain_payload_skips_middle_piece`, `dispatch_chain_divergent_forward_edges_3d`), which also call `runner::dispatch_split`. `@SlopTart` Could you run `cargo test -p xcl --lib dispatch_chain_wave32_live_loops` on unmodified `origin/main` to confirm whether those same `d3d12core.dll` offsets reproduce on `main`'s existing split-chain path under vkd3d-proton 3.1?
thiagocalile commented 2026-11-25 19:09:14 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thiagocalile on 2026-11-25T18:49:25Z.


Independent test and smoke report for head 1f70e6796fbd0a8e893d264497135a8235607321 on an AMD Radeon RX 6600 (8 GB VRAM, RDNA2, native wave64).

Tested

  • Hardware: AMD Radeon RX 6600 (8146 MiB VRAM, RDNA2, native wave64 + mesh shaders, driver 32.0.21045.29003, XCL_ADAPTER=radeon), AMD Ryzen 7 5700X3D, 47.9 GB RAM, Windows 11 (10.0.26200.0), Rust 1.100.0 (stable-x86_64-pc-windows-msvc), DXC 1.8.2502.11.
  • XCL_ADAPTER=radeon cargo test --no-fail-fast -p xcl --lib -- split --test-threads=4: 34 passed, 0 failed, 1 ignored (0 skipped).

Regression run (scripts/smoke.ps1, release builds, XCL_ADAPTER=radeon)

main (50a9fde):

xcl-smoke v1
commit: 50a9fdef81cb796b8756a31defb0648301d002ce
gpu: AMD Radeon RX 6600
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 1501 (PresentX 1501)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 11951 MB

PR #2344 (1f70e67):

xcl-smoke v1
commit: 1f70e6796fbd0a8e893d264497135a8235607321
gpu: AMD Radeon RX 6600
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 1562 (PresentX 1562)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14657 MB

Not tested: NVIDIA/Intel GPUs, Linux/Wine, or world load past the 60 s smoke window.

AI use: Antigravity (Gemini 4 Neon) ran the builds, tests, and smoke runs and drafted this report; the account owner reviewed and approved posting.

<!-- greyfinch-sync:ivall/xcl:comment:7171448287 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7171448287). Originally posted by [thiagocalile](https://github.com/thiagocalile) on 2026-11-25T18:49:25Z. --- Independent test and smoke report for head `1f70e6796fbd0a8e893d264497135a8235607321` on an **AMD Radeon RX 6600** (8 GB VRAM, RDNA2, native wave64). **Tested** - Hardware: AMD Radeon RX 6600 (8146 MiB VRAM, RDNA2, native wave64 + mesh shaders, driver `32.0.21045.29003`, `XCL_ADAPTER=radeon`), AMD Ryzen 7 5700X3D, 47.9 GB RAM, Windows 11 (`10.0.26200.0`), Rust `1.100.0` (`stable-x86_64-pc-windows-msvc`), DXC `1.8.2502.11`. - `XCL_ADAPTER=radeon cargo test --no-fail-fast -p xcl --lib -- split --test-threads=4`: **34 passed, 0 failed, 1 ignored** (`0` skipped). **Regression run** (`scripts/smoke.ps1`, release builds, `XCL_ADAPTER=radeon`) `main` (`50a9fde`): ``` xcl-smoke v1 commit: 50a9fdef81cb796b8756a31defb0648301d002ce gpu: AMD Radeon RX 6600 title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 1501 (PresentX 1501) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 11951 MB ``` PR `#2344` (`1f70e67`): ``` xcl-smoke v1 commit: 1f70e6796fbd0a8e893d264497135a8235607321 gpu: AMD Radeon RX 6600 title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 1562 (PresentX 1562) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14657 MB ``` **Not tested:** NVIDIA/Intel GPUs, Linux/Wine, or world load past the 60 s smoke window. **AI use:** Antigravity (Gemini 4 Neon) ran the builds, tests, and smoke runs and drafted this report; the account owner reviewed and approved posting.
bmjask commented 2026-11-25 20:45:32 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-25T20:45:32Z.

Review: COMMENTED


P1: infer_piece_features removes AtomicInt64Typed and AtomicInt64Heap but never restores either for live resource i64 atomics. The atomicBinOp.i64/atomicCompareExchange.i64 match only sets has_i64_atomic; finish_optimized restores Int64Ops/Doubles, and only group atomics reinsert a feature. A split piece with typed static/heap i64 UAV atomic can therefore omit required DXIL SFI0 flags. Classify annotated handles and restore AtomicInt64Typed/AtomicInt64Heap, with split-piece typed/static and heap i64 atomic tests.

<!-- greyfinch-sync:ivall/xcl:review:6064745645 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#pullrequestreview-6064745645). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-25T20:45:32Z. **Review:** COMMENTED --- P1: infer_piece_features removes AtomicInt64Typed and AtomicInt64Heap but never restores either for live resource i64 atomics. The atomicBinOp.i64/atomicCompareExchange.i64 match only sets has_i64_atomic; finish_optimized restores Int64Ops/Doubles, and only group atomics reinsert a feature. A split piece with typed static/heap i64 UAV atomic can therefore omit required DXIL SFI0 flags. Classify annotated handles and restore AtomicInt64Typed/AtomicInt64Heap, with split-piece typed/static and heap i64 atomic tests.
Decodere commented 2026-11-25 22:06:48 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-25T21:39:11Z.


@bmjask Good catch — fixed in c24f3e97 (and rebased onto 6d12f58a):

infer_piece_features now traces live dx.op.atomicBinOp.i64 / dx.op.atomicCompareExchange.i64 handle operands through annotateHandle, createHandleFromHeap, createHandleFromBinding, Phi, and Select (trace_atomic64_handle) to restore Feature::AtomicInt64Typed, Feature::AtomicInt64Heap, and per-binding b.atomic64 metadata (with conservative fallback on unrecognized handles), and clears them on pieces without those atomics.

Added dispatch_chain_restores_atomic64_typed_and_heap_features in split::tests validating 3-piece chains with DXC 1.9.2609.5 across static typed (u4), static raw (u5), heap raw, and heap typed atomicCompareExchange.i64 cases (11/11 split::tests pass on both RTX 4060 and WARP; full workspace 1426 passed, 0 failed; paired 60 s RTX 4060 smoke 1550 vs 1530 frames, 0 crashes/removals).

<!-- greyfinch-sync:ivall/xcl:comment:7175363683 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7175363683). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-25T21:39:11Z. --- `@bmjask` Good catch — fixed in `c24f3e97` (and rebased onto `6d12f58a`): `infer_piece_features` now traces live `dx.op.atomicBinOp.i64` / `dx.op.atomicCompareExchange.i64` handle operands through `annotateHandle`, `createHandleFromHeap`, `createHandleFromBinding`, `Phi`, and `Select` (`trace_atomic64_handle`) to restore `Feature::AtomicInt64Typed`, `Feature::AtomicInt64Heap`, and per-binding `b.atomic64` metadata (with conservative fallback on unrecognized handles), and clears them on pieces without those atomics. Added `dispatch_chain_restores_atomic64_typed_and_heap_features` in `split::tests` validating 3-piece chains with DXC `1.9.2609.5` across static typed (`u4`), static raw (`u5`), heap raw, and heap typed `atomicCompareExchange.i64` cases (`11/11` `split::tests` pass on both RTX 4060 and WARP; full workspace `1426 passed, 0 failed`; paired 60 s RTX 4060 smoke `1550` vs `1530` frames, `0` crashes/removals).
DavidM1911 commented 2026-11-26 09:07:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T08:15:38Z.


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

  • cargo test -p xcl --lib: hle::d3d12x::real::passthrough_mesh_stream_accepts_a_triangle_driver_blob failed once under parallel scheduling; clean on --test-threads=1 rerun (1309 passed, 0 failed, 27 ignored, 76s). The test is unchanged from main and outside this PR's area (gpu/dxil/module/split.rs) — looks like the known parallel flake tracked in #1978.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7186379826 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7186379826). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T08:15:38Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: `hle::d3d12x::real::passthrough_mesh_stream_accepts_a_triangle_driver_blob` failed once under parallel scheduling; clean on `--test-threads=1` rerun (**1309 passed, 0 failed, 27 ignored**, 76s). The test is unchanged from `main` and outside this PR's area (`gpu/dxil/module/split.rs`) — looks like the known parallel flake tracked in #1978. Thanks! — Devin
a-DuckGod commented 2026-11-26 19:15:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by a-DuckGod on 2026-11-26T19:15:41Z.


Independent Windows 11 / NVIDIA test report on exact PR head c24f3e9743cf43a3d61112da82201d06a05a691d (clean detached checkout; merge-base 6d12f58a).

Tested

  • Hardware / OS / toolchain: NVIDIA GeForce RTX 3080 Ti (12 GB, wave32, mesh shaders), driver 32.0.16.2114; Intel Core i7-8700K, 32 GB RAM; Windows 11 Pro (Version Dev 29708.1003); rustc 1.100.0 (0ef1bc386 2026-11-09) (x86_64-pc-windows-msvc), Windows SDK DXC 1.8.2502.11, D3D12 debug layer installed, debug build.
  • cargo build --workspace: succeeded.
  • cargo test -p xcl --lib gpu::dxil::module::split -- --nocapture: 11 passed, 0 failed, 0 ignored, 0 skipped — including dispatch_chain_prunes_piece_local_features_after_optimize, dispatch_chain_restores_atomic64_typed_and_heap_features (validated under DXC 1.8.2502.11), and GPU test dispatch_chain_transports_live_f16_and_f64_across_cuts (ran on RTX 3080 Ti).
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 1425 passed, 1 failed, 46 ignored (including all e2e tests under the D3D12 debug layer and DRED).
    • The 1 failure was hle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memory under parallel GPU load; standalone rerun cargo test -p xcl --lib d32s8_targets_take_their_own_size_of_video_memory -- --nocapture: 1 passed, 0 failed, 0 ignored (2.86 s).
  • SKIPPED GPU tests (26): 21 no wave64 (RTX 3080 Ti is 32-lane waves only), 3 per-lane #1426 refused forms (V_MUL_F16, V_PK_MUL_F16, V_CVT_F16_F32), 1 shaders::tests::pso_measurement_compiles_an_exact_synthetic_record (cannot disable driver cache; Windows Developer Mode required), 1 heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).

Not tested

  • DXC 1.9, release build, retail title / scripts/smoke.ps1 run, XCL_SAMPLE_* tests, AMD / Intel / native wave64 GPUs.

AI use

  • Antigravity (Gemini 4 Neon) checked out the PR, read commit c24f3e97 (dxil/module/split.rs), ran the build and tests, and drafted this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7201379672 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7201379672). Originally posted by [a-DuckGod](https://github.com/a-DuckGod) on 2026-11-26T19:15:41Z. --- Independent Windows 11 / NVIDIA test report on exact PR head `c24f3e9743cf43a3d61112da82201d06a05a691d` (clean detached checkout; merge-base `6d12f58a`). **Tested** - Hardware / OS / toolchain: NVIDIA GeForce RTX 3080 Ti (12 GB, wave32, mesh shaders), driver 32.0.16.2114; Intel Core i7-8700K, 32 GB RAM; Windows 11 Pro (Version Dev 29708.1003); `rustc 1.100.0 (0ef1bc386 2026-11-09)` (`x86_64-pc-windows-msvc`), Windows SDK DXC `1.8.2502.11`, D3D12 debug layer installed, debug build. - `cargo build --workspace`: succeeded. - `cargo test -p xcl --lib gpu::dxil::module::split -- --nocapture`: **11 passed, 0 failed, 0 ignored, 0 skipped** — including `dispatch_chain_prunes_piece_local_features_after_optimize`, `dispatch_chain_restores_atomic64_typed_and_heap_features` (validated under DXC `1.8.2502.11`), and GPU test `dispatch_chain_transports_live_f16_and_f64_across_cuts` (ran on RTX 3080 Ti). - `cargo test --workspace --no-fail-fast -- --test-threads=4`: **1425 passed, 1 failed, 46 ignored** (including all `e2e` tests under the D3D12 debug layer and DRED). - The 1 failure was `hle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memory` under parallel GPU load; standalone rerun `cargo test -p xcl --lib d32s8_targets_take_their_own_size_of_video_memory -- --nocapture`: **1 passed, 0 failed, 0 ignored** (2.86 s). - `SKIPPED` GPU tests (26): 21 `no wave64` (RTX 3080 Ti is 32-lane waves only), 3 per-lane #1426 refused forms (`V_MUL_F16`, `V_PK_MUL_F16`, `V_CVT_F16_F32`), 1 `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` (cannot disable driver cache; Windows Developer Mode required), 1 `heap_window_out_of_memory_falls_back_to_the_switch_form` (`no heap windows`). **Not tested** - DXC 1.9, release build, retail title / `scripts/smoke.ps1` run, `XCL_SAMPLE_*` tests, AMD / Intel / native wave64 GPUs. **AI use** - Antigravity (Gemini 4 Neon) checked out the PR, read commit `c24f3e97` (`dxil/module/split.rs`), ran the build and tests, and drafted this report. I checked it before posting.
upipibi commented 2026-11-27 00:03:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by upipibi on 2026-11-27T00:03:19Z.


Tested head c24f3e9743cf43a3d61112da82201d06a05a691d, merge-base 6d12f58a229bc73889878a448c64dc3af25eeba0, RTX 3070 (Ampere) driver 616.56, Windows 11, rustc 1.100.0 (0ef1bc386 2026-11-09)

Debug build, no env vars needed (none set), run on a GeForce RTX 3070 (wave32 only), no game files.

  • PR's tests, cargo test -p xcl --lib gpu::dxil::module::split::tests -- --test-threads=1, 3 runs on head: 11 passed, 0 failed each time (includes the 3 new tests dispatch_chain_prunes_piece_local_features_after_optimize, dispatch_chain_restores_atomic64_typed_and_heap_features, dispatch_chain_transports_live_f16_and_f64_across_cuts).
  • Negative control: only the PR's test hunk (the added tests at the end of split.rs) applied to the merge-base 6d12f58a, same command: 8 passed, 3 failed; the 3 new tests fail (the two feature tests log compute split: piece 1 of 2/3 refused, the program stays whole: error: Flags must match usage., the f16/f64 transport test fails).
  • cargo test -p xcl --lib -- --test-threads=4 (whole lib): head 1301 passed, 0 failed (26 ignored); merge-base 1298 passed, 0 failed (26 ignored). The +3 is the three new tests.
  • hle::xaudio2 tests ran normally here (9 passed), nothing skipped for them.
  • SKIPPED lines (25 on both trees, identical): 21 no wave64 (RTX 3070 is wave32-only), 3 per-lane form refused (#1426 f16/VOP3 semantics), 1 pso_measurement_compiles_an_exact_synthetic_record (SDK component missing: cannot disable the driver cache).

Not tested: retail title.

AI-assisted (Claude Code, Claude Sonnet 5.5 ran the tests; Claude Opus 5.5 checked and posted).

<!-- greyfinch-sync:ivall/xcl:comment:7206130760 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7206130760). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-27T00:03:19Z. --- Tested head `c24f3e9743cf43a3d61112da82201d06a05a691d`, merge-base `6d12f58a229bc73889878a448c64dc3af25eeba0`, RTX 3070 (Ampere) driver 616.56, Windows 11, rustc 1.100.0 (0ef1bc386 2026-11-09) Debug build, no env vars needed (none set), run on a GeForce RTX 3070 (wave32 only), no game files. - PR's tests, `cargo test -p xcl --lib gpu::dxil::module::split::tests -- --test-threads=1`, 3 runs on head: `11 passed, 0 failed` each time (includes the 3 new tests `dispatch_chain_prunes_piece_local_features_after_optimize`, `dispatch_chain_restores_atomic64_typed_and_heap_features`, `dispatch_chain_transports_live_f16_and_f64_across_cuts`). - Negative control: only the PR's test hunk (the added tests at the end of `split.rs`) applied to the merge-base `6d12f58a`, same command: `8 passed, 3 failed`; the 3 new tests fail (the two feature tests log `compute split: piece 1 of 2/3 refused, the program stays whole: error: Flags must match usage.`, the f16/f64 transport test fails). - `cargo test -p xcl --lib -- --test-threads=4` (whole lib): head `1301 passed, 0 failed` (26 ignored); merge-base `1298 passed, 0 failed` (26 ignored). The +3 is the three new tests. - `hle::xaudio2` tests ran normally here (9 passed), nothing skipped for them. - SKIPPED lines (25 on both trees, identical): 21 `no wave64` (RTX 3070 is wave32-only), 3 per-lane form refused (`#1426` f16/VOP3 semantics), 1 `pso_measurement_compiles_an_exact_synthetic_record` (SDK component missing: cannot disable the driver cache). Not tested: retail title. AI-assisted (Claude Code, Claude Sonnet 5.5 ran the tests; Claude Opus 5.5 checked and posted).
JJAutoCompare commented 2026-11-27 00:27:48 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-27T00:27:48Z.


Tested: c24f3e9743cf43a3d61112da82201d06a05a691d, Windows 11 build 26200.9974, Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust 1.100.0 MSVC, DXC/DXIL 1.9.2602.17, debug. cargo test --locked -j 2 -p xcl --lib --no-run; exact feature-flag and mixed-transport filters in the built executable. With GPU selection disabled, libtest counted 3 passed and 0 failed/ignored, including one explicit GPU skip after validating the mixed FP16/FP64 shader. With A770 selected, the stock mixed FP16/FP64 fixture failed at pipeline creation (0x80070057, 0 passed, 1 failed, no skip). The adapter reports no FP64 shader ops. A separate test-only FP16 fixture built against the PR runtime passed on Arc with 0 failures, ignores or skips. The three-piece chain and whole shader matched the CPU oracle bit for bit for all 32 lanes, including negative zero.

Not tested: FP64 GPU readback, Wine/vkd3d, full suite and retail smoke.

AI use: T3 Code / Codex (gpt-6.2-sol) ran and reran the checks and wrote the report.

<!-- greyfinch-sync:ivall/xcl:comment:7206480972 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7206480972). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-27T00:27:48Z. --- **Tested:** `c24f3e9743cf43a3d61112da82201d06a05a691d`, Windows 11 build 26200.9974, Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust 1.100.0 MSVC, DXC/DXIL 1.9.2602.17, debug. `cargo test --locked -j 2 -p xcl --lib --no-run`; exact feature-flag and mixed-transport filters in the built executable. With GPU selection disabled, libtest counted 3 passed and 0 failed/ignored, including one explicit GPU skip after validating the mixed FP16/FP64 shader. With A770 selected, the stock mixed FP16/FP64 fixture failed at pipeline creation (`0x80070057`, 0 passed, 1 failed, no skip). The adapter reports no FP64 shader ops. A separate test-only FP16 fixture built against the PR runtime passed on Arc with 0 failures, ignores or skips. The three-piece chain and whole shader matched the CPU oracle bit for bit for all 32 lanes, including negative zero. **Not tested:** FP64 GPU readback, Wine/vkd3d, full suite and retail smoke. **AI use:** T3 Code / Codex (`gpt-6.2-sol`) ran and reran the checks and wrote the report.
Decodere commented 2026-11-27 00:57:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-27T00:57:29Z.


Thank you @JJAutoCompare for catching the missing D3D12_FEATURE_D3D12_OPTIONS::DoublePrecisionFloatShaderOps gate on Intel Arc A770 (0x80070057) in #2344#issuecomment-7206480972!

Updated #2344 to 5ed6946efba188ba5fe3646b9ac494d9dbad4931 (#[cfg(test)]-only diff vs c24f3e97 — 0 production lines changed in crates/xcl/src/gpu/dxil/module/split.rs):

  • Replaced native_16bit_supported() -> bool with gpu_float_ops_support() -> (bool, bool) querying both D3D12_FEATURE_D3D12_OPTIONS4::Native16BitShaderOpsSupported and D3D12_FEATURE_D3D12_OPTIONS::DoublePrecisionFloatShaderOps.
  • Added dispatch_chain_transports_live_f16_across_cuts: validates 3-piece live f16 transport (including -0.0f16 in lane 0) under DXC 1.9 and executes on GPU gated only on runner::wave32_supported() and Native16BitShaderOpsSupported, so FP64-less GPUs such as Intel Arc A770 execute #2344's live f16 GPU check directly.
  • Updated dispatch_chain_transports_live_f16_and_f64_across_cuts to keep unconditional DXC 1.9 validation and skip cleanly (no FP64 shader ops) when DoublePrecisionFloatShaderOps is false.

Checks on 5ed6946e:

  • Both main CI checks passed (PR description: success, Build and test (Windows, no GPU): success, mergeable: True / clean).
  • Windows 11 26200 / NVIDIA GeForce RTX 4060 8 GB (driver 621.14, rustc 1.100.0, DXC 1.9.2609.5): cargo clippy --all-targets -- -A clippy::approx_constant clean, 3x Debug WARP (XCL_ADAPTER=warp) split::tests:: 12 passed, 0 failed (DXC 1.9 validation clean before wave32 skip), 3x Release RTX 4060 split::tests:: 12 passed, 0 failed, 0 skipped (both f16 and f16+f64 GPU tests passed), and fresh 60 s default-flags RTX 4060 retail smoke passed (1632 frames, 0 device removals, 0 crashes).
  • Not re-tested locally: Intel Arc A770 / FP64-less GPUs (previous @a-DuckGod / @upipibi NVIDIA runs tested c24f3e97, which has identical production code).

AI use: Google Antigravity (Gemini 4 Neon) implemented the #[cfg(test)]-only DoublePrecisionFloatShaderOps check and standalone f16 GPU test, ran local checks/smoke on 5ed6946e, and drafted this reply.

<!-- greyfinch-sync:ivall/xcl:comment:7206892029 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7206892029). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-27T00:57:29Z. --- Thank you `@JJAutoCompare` for catching the missing `D3D12_FEATURE_D3D12_OPTIONS::DoublePrecisionFloatShaderOps` gate on Intel Arc A770 (`0x80070057`) in #2344#issuecomment-7206480972! Updated `#2344` to **`5ed6946efba188ba5fe3646b9ac494d9dbad4931`** (`#[cfg(test)]`-only diff vs `c24f3e97` — **`0` production lines changed** in `crates/xcl/src/gpu/dxil/module/split.rs`): - Replaced `native_16bit_supported() -> bool` with `gpu_float_ops_support() -> (bool, bool)` querying both `D3D12_FEATURE_D3D12_OPTIONS4::Native16BitShaderOpsSupported` and `D3D12_FEATURE_D3D12_OPTIONS::DoublePrecisionFloatShaderOps`. - Added `dispatch_chain_transports_live_f16_across_cuts`: validates 3-piece live `f16` transport (including `-0.0f16` in lane 0) under DXC 1.9 and executes on GPU gated only on `runner::wave32_supported()` and `Native16BitShaderOpsSupported`, so FP64-less GPUs such as Intel Arc A770 execute `#2344`'s live `f16` GPU check directly. - Updated `dispatch_chain_transports_live_f16_and_f64_across_cuts` to keep unconditional DXC 1.9 validation and skip cleanly (`no FP64 shader ops`) when `DoublePrecisionFloatShaderOps` is false. **Checks on `5ed6946e`:** - Both `main` CI checks passed (`PR description`: `success`, `Build and test (Windows, no GPU)`: `success`, `mergeable: True` / `clean`). - Windows 11 26200 / NVIDIA GeForce RTX 4060 8 GB (driver `621.14`, `rustc 1.100.0`, DXC `1.9.2609.5`): `cargo clippy --all-targets -- -A clippy::approx_constant` clean, 3x Debug WARP (`XCL_ADAPTER=warp`) `split::tests::` `12 passed, 0 failed` (DXC 1.9 validation clean before wave32 skip), 3x Release RTX 4060 `split::tests::` `12 passed, 0 failed, 0 skipped` (both `f16` and `f16`+`f64` GPU tests passed), and fresh 60 s default-flags RTX 4060 retail smoke passed (`1632` frames, `0` device removals, `0` crashes). - **Not re-tested locally:** Intel Arc A770 / FP64-less GPUs (previous `@a-DuckGod` / `@upipibi` NVIDIA runs tested `c24f3e97`, which has identical production code). AI use: Google Antigravity (Gemini 4 Neon) implemented the `#[cfg(test)]`-only `DoublePrecisionFloatShaderOps` check and standalone `f16` GPU test, ran local checks/smoke on `5ed6946e`, and drafted this reply.
throny commented 2026-11-27 16:25:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T16:25:11Z.


Merge status (I have been asked to prepare merges of PRs with several independent tests; the bar is: no open critical finding or performance regression, a fresh check of the merge result against today's main, and green required checks. Each merge is still confirmed by a person.)

This one merges cleanly into main 6089122a and both checks are green. Two things stand in the way: @raylitebull's hold is still open (the deterministic access violation in d3d12core.dll under Wine / vkd3d-proton in the f16/f64 transport test), and the current head 5ed6946 has no independent run yet (the reports are on older heads; three are on c24f3e9, which you say has the same production code). When the hold is lifted or the crash explained, and someone has run the head, I will do the pre-merge review.

AI use: Claude Code (Claude Fable 5.2).

<!-- greyfinch-sync:ivall/xcl:comment:7223238888 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7223238888). Originally posted by [throny](https://github.com/throny) on 2026-11-27T16:25:11Z. --- **Merge status** (I have been asked to prepare merges of PRs with several independent tests; the bar is: no open critical finding or performance regression, a fresh check of the merge result against today's `main`, and green required checks. Each merge is still confirmed by a person.) This one merges cleanly into `main` `6089122a` and both checks are green. Two things stand in the way: @raylitebull's hold is still open (the deterministic access violation in `d3d12core.dll` under Wine / vkd3d-proton in the f16/f64 transport test), and the current head `5ed6946` has no independent run yet (the reports are on older heads; three are on `c24f3e9`, which you say has the same production code). When the hold is lifted or the crash explained, and someone has run the head, I will do the pre-merge review. AI use: Claude Code (Claude Fable 5.2).
Decodere commented 2026-11-27 16:36:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-27T16:36:31Z.


Thanks @throny and @raylitebull for checking #2344.

Two clarifications for the Wine/vkd3d-proton hold and current head 5ed6946efba188ba5fe3646b9ac494d9dbad4931:

  1. @raylitebull's Wine / vkd3d-proton 3.1 d3d12core.dll AV hold:
    • Lead maintainer @ivall resolved this exact signature on merged PR #2338: @ivall confirmed that d3d12core.dll+0x1AB118 (0x6ffffca2b118 with d3d12core.dll loaded at 0x6ffffc880000) pre-dates both #2338 and #2344 (previously observed on #2080, already on main), confirmed native Windows runs on NVIDIA and AMD pass, and merged #2338 while noting the upstream/Wine vkd3d-proton issue should be tracked separately.
    • Notably, #2338's failing test (offline_split_compute_pipeline_is_reused_by_a_second_process) neither modified split.rs nor used f16/f64, yet hit the same 6 d3d12core.dll unwind offsets (+0x1AB118, +0x1784EC, +0x1A1676, +0x1A7852, +0x1A9450, +0x0DF8DB) reported on #2344.
  2. Code review & c24f3e97 -> 5ed6946e diff:
    • @bmjask's P1 (AtomicInt64Typed/AtomicInt64Heap in infer_piece_features) was resolved in c24f3e97 (details).
    • Between c24f3e97 and current head 5ed6946e, 0 production lines changed in crates/xcl/src/gpu/dxil/module/split.rs (#[cfg(test)]-only DoublePrecisionFloatShaderOps gate + standalone f16 GPU test per @JJAutoCompare's Intel Arc A770 report).

Welcoming an independent run on 5ed6946e to clear #2344 for pre-merge review.


AI disclosure: comment drafted by Google Antigravity (Decodere) citing verified comments and diffs from #2344 and #2338.

<!-- greyfinch-sync:ivall/xcl:comment:7223459279 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7223459279). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-27T16:36:31Z. --- Thanks `@throny` and `@raylitebull` for checking `#2344`. Two clarifications for the Wine/`vkd3d-proton` hold and current head `5ed6946efba188ba5fe3646b9ac494d9dbad4931`: 1. **`@raylitebull`'s Wine / `vkd3d-proton 3.1` `d3d12core.dll` AV hold:** - Lead maintainer `@ivall` resolved this exact signature on merged PR [`#2338`](https://github.com/xcl-dev/xcl/pull/2338#issuecomment-7171373304): `@ivall` confirmed that `d3d12core.dll+0x1AB118` (`0x6ffffca2b118` with `d3d12core.dll` loaded at `0x6ffffc880000`) **pre-dates both `#2338` and `#2344`** (previously observed on `#2080`, already on `main`), confirmed native Windows runs on NVIDIA and AMD pass, and merged `#2338` while noting the upstream/Wine `vkd3d-proton` issue should be tracked separately. - Notably, `#2338`'s failing test (`offline_split_compute_pipeline_is_reused_by_a_second_process`) neither modified `split.rs` nor used `f16`/`f64`, yet hit the same 6 `d3d12core.dll` unwind offsets (`+0x1AB118, +0x1784EC, +0x1A1676, +0x1A7852, +0x1A9450, +0x0DF8DB`) reported on `#2344`. 2. **Code review & `c24f3e97 -> 5ed6946e` diff:** - `@bmjask`'s P1 (`AtomicInt64Typed`/`AtomicInt64Heap` in `infer_piece_features`) was resolved in `c24f3e97` ([details](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7175363683)). - Between `c24f3e97` and current head `5ed6946e`, **`0` production lines changed** in `crates/xcl/src/gpu/dxil/module/split.rs` (`#[cfg(test)]`-only `DoublePrecisionFloatShaderOps` gate + standalone `f16` GPU test per `@JJAutoCompare`'s Intel Arc A770 report). Welcoming an independent run on `5ed6946e` to clear `#2344` for pre-merge review. --- *AI disclosure: comment drafted by Google Antigravity (`Decodere`) citing verified comments and diffs from `#2344` and `#2338`.*
Foniass commented 2026-12-01 07:52:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:52:36Z.


Triage (#1607) – head 5ed6946

No open or merged PR makes the same change. On main, make_piece still calls infer_piece_features before optimize, and transport_words still refuses Half and Double. #2349 also re-infers WaveOps per piece in infer_piece_features, so the two PRs overlap and will conflict there. The PR also conflicts with main, which has since added prune_unused_bindings after optimize. When rebasing, check that the per-binding atomic64 rewrite still runs on the bindings left after pruning. No problems found in the diff on its own base.
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:7304593640 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2344#issuecomment-7304593640). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T07:52:36Z. --- **Triage (#1607)** – head 5ed6946 No open or merged PR makes the same change. On main, `make_piece` still calls `infer_piece_features` before `optimize`, and `transport_words` still refuses `Half` and `Double`. #2349 also re-infers `WaveOps` per piece in `infer_piece_features`, so the two PRs overlap and will conflict there. The PR also conflicts with main, which has since added `prune_unused_bindings` after `optimize`. When rebasing, check that the per-binding `atomic64` rewrite still runs on the bindings left after pruning. No problems found in the diff on its own base. 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/2344:upstream-pr/2344'
git switch 'upstream-pr/2344'

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/2344'
git switch 'upstream-pr/2344'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2344'
git switch 'upstream-pr/2344'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2344'
git switch 'main'
git merge --squash 'upstream-pr/2344'
git switch 'main'
git merge --ff-only 'upstream-pr/2344'
git switch 'main'
git merge 'upstream-pr/2344'
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!2334
No description provided.