Recompiler: preserve MSAA load block boundary #3159

Merged
bmjask merged 1 commit from upstream-pr/3159 into main 2026-11-28 14:48:56 +00:00
bmjask commented 2026-11-28 14:08:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-28T14:08:53Z.


Commit 56237a2d put the MSAA sample-count query before the loads and emitted the loads in a new block, but CFG simplification merged that single-predecessor block back into its predecessor. The resulting DXIL again placed GetDimensions before TextureLoad in one basic block, restoring the AMD compiler crash pattern guarded by the regression test.

What is in it

  • crates/xcl/src/gpu/dxil/module.rs: mark block boundaries that CFG simplification must retain.
  • crates/xcl/src/gpu/dxil/module/opt.rs: keep marked targets out of linear-block merging and test the behavior.
  • crates/xcl/src/gpu/dxil/lower_image.rs: preserve the boundary before direct MSAA texture loads.

Tested

  • NVIDIA GeForce RTX 4090, driver 610.88; Intel Core i9-12900K; Windows 11; rustc 1.100.0; DXC 1.9.2602.17; debug and release.
  • Commit bba710e299e936089030f4640a121b0b0329b378.
  • cargo test -p xcl --lib gpu::dxil::module::opt::tests::simplify_cfg_keeps_preserved_block_boundary -- --exact --test-threads=1: 1 passed, 0 failed, 0 ignored.
  • cargo test -p xcl --lib gpu::dxil::msaa_tests::direct_msaa_loads_precede_get_dimensions -- --exact --test-threads=1 --nocapture: 1 passed, 0 failed, 0 ignored.
  • scripts/test.ps1: benchmark harnesses 73 passed, 0 failed; library 2,008 passed, 0 failed, 28 ignored; integration 134 passed, 0 failed, 20 ignored.
  • The suite reported 26 GPU skips: unsupported wave64, missing dxil.dll, unavailable heap windows, or unsupported per-lane forms.
  • Sample-data variables were unset: XCL_SAMPLE_RPF, XCL_SAMPLE_DLLS, XCL_SAMPLE_TTPF, XCL_SAMPLE_BCPACK, XCL_SAMPLE_BK2, XCL_SAMPLE_BVH4, XCL_SAMPLE_AWC, XCL_SAMPLE_XG, and XCL_SAMPLE_DXC.

Regression run
Both runs used the same real title and XCL_PREPARE=0, XCL_PREPARE_GRAPHICS=0 so the bounded smoke did not wait for its staged 26,503-shader corpus.

xcl-smoke v1
commit: b937fbab2964b2c142f5d13662b91b00f99b9848
gpu: NVIDIA GeForce RTX 4090
title: msaa-regression
seconds: 60
exit: 0x0
frames shown: 1477 (PresentX 1477)
presents per 2 s (last 3): 60 61 60
device removals: 0
crashes: 0
peak commit: 15121 MB
xcl-smoke v1
commit: bba710e299e936089030f4640a121b0b0329b378
gpu: NVIDIA GeForce RTX 4090
title: msaa-regression
seconds: 60
exit: 0x0
frames shown: 1469 (PresentX 1469)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14965 MB

Not tested

  • The original AMD compiler crash was not reproduced on AMD hardware.
  • The smoke runs skipped staged shader/pipeline preparation, so they do not exercise the affected direct-MSAA translation path; the focused DXIL regression test covers its emitted block ordering.
  • Sample-data tests listed above did not receive their optional retail inputs.
  • macOS and Linux are unsupported and were not tested.

AI use
Codex with GPT-5 diagnosed the optimizer merge, implemented the scoped block-boundary preservation, added its unit test, rebased the branch, and ran the tests and smoke comparisons above.

<!-- greyfinch-sync:ivall/xcl:issue:5540969957 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3159). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-28T14:08:53Z. --- Commit 56237a2d put the MSAA sample-count query before the loads and emitted the loads in a new block, but CFG simplification merged that single-predecessor block back into its predecessor. The resulting DXIL again placed GetDimensions before TextureLoad in one basic block, restoring the AMD compiler crash pattern guarded by the regression test. **What is in it** - `crates/xcl/src/gpu/dxil/module.rs`: mark block boundaries that CFG simplification must retain. - `crates/xcl/src/gpu/dxil/module/opt.rs`: keep marked targets out of linear-block merging and test the behavior. - `crates/xcl/src/gpu/dxil/lower_image.rs`: preserve the boundary before direct MSAA texture loads. **Tested** - NVIDIA GeForce RTX 4090, driver 610.88; Intel Core i9-12900K; Windows 11; rustc 1.100.0; DXC 1.9.2602.17; debug and release. - Commit `bba710e299e936089030f4640a121b0b0329b378`. - `cargo test -p xcl --lib gpu::dxil::module::opt::tests::simplify_cfg_keeps_preserved_block_boundary -- --exact --test-threads=1`: 1 passed, 0 failed, 0 ignored. - `cargo test -p xcl --lib gpu::dxil::msaa_tests::direct_msaa_loads_precede_get_dimensions -- --exact --test-threads=1 --nocapture`: 1 passed, 0 failed, 0 ignored. - `scripts/test.ps1`: benchmark harnesses 73 passed, 0 failed; library 2,008 passed, 0 failed, 28 ignored; integration 134 passed, 0 failed, 20 ignored. - The suite reported 26 GPU skips: unsupported wave64, missing dxil.dll, unavailable heap windows, or unsupported per-lane forms. - Sample-data variables were unset: `XCL_SAMPLE_RPF`, `XCL_SAMPLE_DLLS`, `XCL_SAMPLE_TTPF`, `XCL_SAMPLE_BCPACK`, `XCL_SAMPLE_BK2`, `XCL_SAMPLE_BVH4`, `XCL_SAMPLE_AWC`, `XCL_SAMPLE_XG`, and `XCL_SAMPLE_DXC`. **Regression run** Both runs used the same real title and `XCL_PREPARE=0`, `XCL_PREPARE_GRAPHICS=0` so the bounded smoke did not wait for its staged 26,503-shader corpus. ``` xcl-smoke v1 commit: b937fbab2964b2c142f5d13662b91b00f99b9848 gpu: NVIDIA GeForce RTX 4090 title: msaa-regression seconds: 60 exit: 0x0 frames shown: 1477 (PresentX 1477) presents per 2 s (last 3): 60 61 60 device removals: 0 crashes: 0 peak commit: 15121 MB ``` ``` xcl-smoke v1 commit: bba710e299e936089030f4640a121b0b0329b378 gpu: NVIDIA GeForce RTX 4090 title: msaa-regression seconds: 60 exit: 0x0 frames shown: 1469 (PresentX 1469) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14965 MB ``` **Not tested** - The original AMD compiler crash was not reproduced on AMD hardware. - The smoke runs skipped staged shader/pipeline preparation, so they do not exercise the affected direct-MSAA translation path; the focused DXIL regression test covers its emitted block ordering. - Sample-data tests listed above did not receive their optional retail inputs. - macOS and Linux are unsupported and were not tested. **AI use** Codex with GPT-5 diagnosed the optimizer merge, implemented the scoped block-boundary preservation, added its unit test, rebased the branch, and ran the tests and smoke comparisons above.
thehollowedone commented 2026-11-28 14:37:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T14:37:37Z.


Independent Windows check of #3159 head bba710e2 against clean main b937fbab. Windows 11 build 26300, RTX 3080 Ti / NVIDIA 621.35, Ryzen 7 9800X3D, Rust 1.99.1 MSVC.

  • cargo test --offline --locked -j 4 -p xcl --lib gpu::dxil::msaa_tests::direct_msaa_loads_precede_get_dimensions -- --exact --test-threads=1 on the PR head: 1 passed, 0 failed, 0 ignored. The same test failed in the clean-main full suite and main's Windows CI.
  • Both clean release builds passed cargo build --offline --locked -j 4 --release -p xcl. The PR package was forced to rebuild after switching worktrees.
  • Paired scripts/smoke.ps1 -Seconds 60 runs used the same title, adapter and XCL_PREPARE=0 setting. Head showed 1,265 frames versus 1,282 on main (98.7%), with zero crashes or device removals on both; peak commit was 15,106 MB versus 15,124 MB. The title run checks launch and presentation; it does not exercise the AMD compiler failure.
xcl-smoke v1
commit: b937fbab2964b2c142f5d13662b91b00f99b9848
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1282 (PresentX 1282)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15124 MB
xcl-smoke v1
commit: bba710e299e936089030f4640a121b0b0329b378
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1265 (PresentX 1265)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15106 MB

AI use: Codex (GPT-6.2 Sol) ran the checks and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7240810355 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3159#issuecomment-7240810355). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-28T14:37:37Z. --- Independent Windows check of [#3159 head `bba710e2`](https://github.com/xcl-dev/xcl/commit/bba710e299e936089030f4640a121b0b0329b378) against clean [main `b937fbab`](https://github.com/xcl-dev/xcl/commit/b937fbab2964b2c142f5d13662b91b00f99b9848). Windows 11 build 26300, RTX 3080 Ti / NVIDIA 621.35, Ryzen 7 9800X3D, Rust 1.99.1 MSVC. - `cargo test --offline --locked -j 4 -p xcl --lib gpu::dxil::msaa_tests::direct_msaa_loads_precede_get_dimensions -- --exact --test-threads=1` on the PR head: 1 passed, 0 failed, 0 ignored. The same test failed in the clean-main full suite and [main's Windows CI](https://github.com/xcl-dev/xcl/actions/runs/46153013686/job/141003545283). - Both clean release builds passed `cargo build --offline --locked -j 4 --release -p xcl`. The PR package was forced to rebuild after switching worktrees. - Paired `scripts/smoke.ps1 -Seconds 60` runs used the same title, adapter and `XCL_PREPARE=0` setting. Head showed 1,265 frames versus 1,282 on main (98.7%), with zero crashes or device removals on both; peak commit was 15,106 MB versus 15,124 MB. The title run checks launch and presentation; it does not exercise the AMD compiler failure. ``` xcl-smoke v1 commit: b937fbab2964b2c142f5d13662b91b00f99b9848 gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1282 (PresentX 1282) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15124 MB ``` ``` xcl-smoke v1 commit: bba710e299e936089030f4640a121b0b0329b378 gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1265 (PresentX 1265) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15106 MB ``` AI use: Codex (GPT-6.2 Sol) ran the checks and wrote this report.
thehollowedone commented 2026-11-28 14:49:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T14:49:21Z.


merge-check
base: b937fbab29
head: bba710e299
merge: clean (the base is an ancestor of this head)
build: cargo build --offline --locked -j 4 --workspace -> ok
tests: cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4 -> 2,141 passed, 1 failed, 48 ignored; 25 explicit GPU skips. Failing: console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk, which also fails on the clean base here.
review: not yet. The new boundary flag survives the first optimizer pass, but split-piece cloning creates unmarked blocks and optimizes each piece again. An eligible split compute shader can put GetDimensions and TextureLoad back in one DXIL block. A forced-split synthetic regression on this head failed 0 passed / 1 failed; DXC 1.8.2502.11 disassembled the two calls in the same block of piece 0. Copying the marker to each mapped block made that test pass 1/0. The existing focused MSAA test covers the whole program, not this split-piece path.
performance: the proposed marker copy is per block at translation time; I did not measure a runtime frame-time or memory effect.
verdict: not yet: retain the marked boundary when dispatch pieces copy blocks, and add the forced-split regression before a new exact-head suite and required smoke.
hardware / tool and model: Windows 11 build 26300, RTX 3080 Ti / NVIDIA 621.35, Ryzen 7 9800X3D; Codex (GPT-6.2 Sol) ran the build, suite, and regression; Codex (GPT-6.2 Astra) traced the split path and prepared the tested candidate.

The earlier paired smoke report passed on this head. The synthetic test verifies emitted DXIL ordering; it does not reproduce AMD driver execution.

Candidate fix and forced-split regression tested on this head
diff --git a/crates/xcl/src/gpu/dxil/module/split.rs b/crates/xcl/src/gpu/dxil/module/split.rs
--- a/crates/xcl/src/gpu/dxil/module/split.rs
+++ b/crates/xcl/src/gpu/dxil/module/split.rs
@@ -167,7 +167,13 @@ impl Shader {
         }
         let lane = prefix.last().map(|&i| values[&Value::Inst(i)]).unwrap_or_else(|| dst.wave_lane_index());
         let scratch = Scratch::new(&mut dst, &slab, stride, threads[0], lane);
-        let local: HashMap<_, _> = plan.blocks[stage].iter().map(|&b| (b, dst.m.new_block())).collect();
+        let local: HashMap<_, _> = plan.blocks[stage].iter().map(|&b| {
+            let copied = dst.m.new_block();
+            if src.preserve_block_boundary[b.0 as usize] {
+                dst.m.preserve_block_boundary(copied);
+            }
+            (b, copied)
+        }).collect();
         let mut hops = HashMap::new();
         let mut exits = HashMap::new();
         let mut cases = Vec::new();
diff --git a/crates/xcl/src/gpu/dxil/msaa_tests.rs b/crates/xcl/src/gpu/dxil/msaa_tests.rs
--- a/crates/xcl/src/gpu/dxil/msaa_tests.rs
+++ b/crates/xcl/src/gpu/dxil/msaa_tests.rs
@@ -343,3 +343,51 @@ fn gpu_direct_image_get_resinfo_d16() {
     assert_eq!(r.vgpr[0][5], 3 | (1 << 16), "MSAA array D16 resinfo v5: {:#x}", r.vgpr[0][5]);
     assert_eq!((r.vgpr[0][6], r.vgpr[0][7]), (0x1122_3344, 0x5566_7788), "MSAA array D16 resinfo clobbered v6/v7");
 }
+
+#[test]
+fn review_split_msaa_boundary() {
+    let mut s = Shader::new(Stage::Compute, (6, 6));
+    let out = s.raw_uav(1, 0);
+    let lane = s.flattened_thread_id_in_group();
+    let z = s.m.i32c(0);
+    let tex = s.heap_texture(lane, TexKind::D2MS, false, CompType::U32, 4, true);
+    let dims = s.get_dimensions(tex.handle, None);
+    let count = s.m.extract(dims, 3);
+    let loads = s.m.new_block();
+    s.m.preserve_block_boundary(loads);
+    s.m.br(loads);
+    s.m.set_block(loads);
+    let ok = s.m.cmp(super::module::Pred::ULt, lane, count);
+    let index = s.m.select(ok, lane, z);
+    let pixel = s.texture_load_sample(tex, index, &[z, z])[0];
+    s.raw_store(out, z, &[pixel]);
+    let pad = s.m.new_block();
+    let end = s.m.new_block();
+    s.m.cond_br(ok, pad, end);
+    s.m.set_block(pad);
+    for i in 1..=50 {
+        let offset = s.m.i32c(i * 4);
+        s.raw_store(out, offset, &[pixel]);
+    }
+    s.m.br(end);
+    s.m.set_block(end);
+    s.m.ret();
+    s.m.optimize();
+    let chain = s.split_compute([32, 1, 1], None, 40).expect("split fixture");
+    let mut paired = 0;
+    for (i, piece) in chain.pieces.iter().enumerate() {
+        let dis = validate::disassemble(piece).unwrap();
+        if dis.lines().any(|l| l.contains("call ") && l.contains("@dx.op.getDimensions")) &&
+            dis.lines().any(|l| l.contains("call ") && l.contains("@dx.op.textureLoad")) { paired += 1; }
+        let mut dims = false;
+        for line in dis.lines() {
+            let t = line.trim();
+            if t.starts_with("define ") || t.starts_with("; <label>:") { dims = false; }
+            if t.contains("call ") && t.contains("@dx.op.getDimensions") { dims = true; }
+            if t.contains("call ") && t.contains("@dx.op.textureLoad") {
+                assert!(!dims, "piece {i} merged query and load: {t}");
+            }
+        }
+    }
+    assert!(paired > 0);
+}
<!-- greyfinch-sync:ivall/xcl:comment:7240957675 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3159#issuecomment-7240957675). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-28T14:49:21Z. --- merge-check base: b937fbab2964b2c142f5d13662b91b00f99b9848 head: bba710e299e936089030f4640a121b0b0329b378 merge: clean (the base is an ancestor of this head) build: `cargo build --offline --locked -j 4 --workspace` -> ok tests: `cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4` -> 2,141 passed, 1 failed, 48 ignored; 25 explicit GPU skips. Failing: `console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk`, which also fails on the clean base here. review: not yet. The new boundary flag survives the first optimizer pass, but [split-piece cloning](https://github.com/xcl-dev/xcl/blob/bba710e299e936089030f4640a121b0b0329b378/crates/xcl/src/gpu/dxil/module/split.rs#L170) creates unmarked blocks and optimizes each piece again. An eligible split compute shader can put GetDimensions and TextureLoad back in one DXIL block. A forced-split synthetic regression on this head failed 0 passed / 1 failed; DXC 1.8.2502.11 disassembled the two calls in the same block of piece 0. Copying the marker to each mapped block made that test pass 1/0. The existing focused MSAA test covers the whole program, not this split-piece path. performance: the proposed marker copy is per block at translation time; I did not measure a runtime frame-time or memory effect. verdict: not yet: retain the marked boundary when dispatch pieces copy blocks, and add the forced-split regression before a new exact-head suite and required smoke. hardware / tool and model: Windows 11 build 26300, RTX 3080 Ti / NVIDIA 621.35, Ryzen 7 9800X3D; Codex (GPT-6.2 Sol) ran the build, suite, and regression; Codex (GPT-6.2 Astra) traced the split path and prepared the tested candidate. The earlier [paired smoke report](https://github.com/xcl-dev/xcl/pull/3159#issuecomment-7240810355) passed on this head. The synthetic test verifies emitted DXIL ordering; it does not reproduce AMD driver execution. <details> <summary>Candidate fix and forced-split regression tested on this head</summary> ```diff diff --git a/crates/xcl/src/gpu/dxil/module/split.rs b/crates/xcl/src/gpu/dxil/module/split.rs --- a/crates/xcl/src/gpu/dxil/module/split.rs +++ b/crates/xcl/src/gpu/dxil/module/split.rs @@ -167,7 +167,13 @@ impl Shader { } let lane = prefix.last().map(|&i| values[&Value::Inst(i)]).unwrap_or_else(|| dst.wave_lane_index()); let scratch = Scratch::new(&mut dst, &slab, stride, threads[0], lane); - let local: HashMap<_, _> = plan.blocks[stage].iter().map(|&b| (b, dst.m.new_block())).collect(); + let local: HashMap<_, _> = plan.blocks[stage].iter().map(|&b| { + let copied = dst.m.new_block(); + if src.preserve_block_boundary[b.0 as usize] { + dst.m.preserve_block_boundary(copied); + } + (b, copied) + }).collect(); let mut hops = HashMap::new(); let mut exits = HashMap::new(); let mut cases = Vec::new(); diff --git a/crates/xcl/src/gpu/dxil/msaa_tests.rs b/crates/xcl/src/gpu/dxil/msaa_tests.rs --- a/crates/xcl/src/gpu/dxil/msaa_tests.rs +++ b/crates/xcl/src/gpu/dxil/msaa_tests.rs @@ -343,3 +343,51 @@ fn gpu_direct_image_get_resinfo_d16() { assert_eq!(r.vgpr[0][5], 3 | (1 << 16), "MSAA array D16 resinfo v5: {:#x}", r.vgpr[0][5]); assert_eq!((r.vgpr[0][6], r.vgpr[0][7]), (0x1122_3344, 0x5566_7788), "MSAA array D16 resinfo clobbered v6/v7"); } + +#[test] +fn review_split_msaa_boundary() { + let mut s = Shader::new(Stage::Compute, (6, 6)); + let out = s.raw_uav(1, 0); + let lane = s.flattened_thread_id_in_group(); + let z = s.m.i32c(0); + let tex = s.heap_texture(lane, TexKind::D2MS, false, CompType::U32, 4, true); + let dims = s.get_dimensions(tex.handle, None); + let count = s.m.extract(dims, 3); + let loads = s.m.new_block(); + s.m.preserve_block_boundary(loads); + s.m.br(loads); + s.m.set_block(loads); + let ok = s.m.cmp(super::module::Pred::ULt, lane, count); + let index = s.m.select(ok, lane, z); + let pixel = s.texture_load_sample(tex, index, &[z, z])[0]; + s.raw_store(out, z, &[pixel]); + let pad = s.m.new_block(); + let end = s.m.new_block(); + s.m.cond_br(ok, pad, end); + s.m.set_block(pad); + for i in 1..=50 { + let offset = s.m.i32c(i * 4); + s.raw_store(out, offset, &[pixel]); + } + s.m.br(end); + s.m.set_block(end); + s.m.ret(); + s.m.optimize(); + let chain = s.split_compute([32, 1, 1], None, 40).expect("split fixture"); + let mut paired = 0; + for (i, piece) in chain.pieces.iter().enumerate() { + let dis = validate::disassemble(piece).unwrap(); + if dis.lines().any(|l| l.contains("call ") && l.contains("@dx.op.getDimensions")) && + dis.lines().any(|l| l.contains("call ") && l.contains("@dx.op.textureLoad")) { paired += 1; } + let mut dims = false; + for line in dis.lines() { + let t = line.trim(); + if t.starts_with("define ") || t.starts_with("; <label>:") { dims = false; } + if t.contains("call ") && t.contains("@dx.op.getDimensions") { dims = true; } + if t.contains("call ") && t.contains("@dx.op.textureLoad") { + assert!(!dims, "piece {i} merged query and load: {t}"); + } + } + } + assert!(paired > 0); +} ``` </details>
thehollowedone commented 2026-11-28 14:54:48 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T14:54:48Z.


Post-merge confirmation on main 309c3ec5: the split-piece boundary gap in my earlier review and collapsed diff remains in the merged code.

On that exact main, the test-only forced-split regression failed (0 passed, 1 failed): DXIL piece 0 placed dx.op.getDimensions before dx.op.textureLoad.i32 in the same basic block. Applying only the marker-copy change from the linked diff made the same test pass (1 passed, 0 failed). This establishes the emitted-code ordering for an eligible split compute shader; AMD driver execution was not measured.

AI use: Codex (GPT-6.2 Sol) ran the exact-main control and checked this follow-up; Codex (GPT-6.2 Astra) traced the original split path.

<!-- greyfinch-sync:ivall/xcl:comment:7241033091 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3159#issuecomment-7241033091). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-28T14:54:48Z. --- Post-merge confirmation on [main `309c3ec5`](https://github.com/xcl-dev/xcl/commit/309c3ec5a25ea231ddbe01f76748ab8ed3d9d953): the split-piece boundary gap in my [earlier review and collapsed diff](https://github.com/xcl-dev/xcl/pull/3159#issuecomment-7240957675) remains in the merged code. On that exact main, the test-only forced-split regression failed (0 passed, 1 failed): DXIL piece 0 placed `dx.op.getDimensions` before `dx.op.textureLoad.i32` in the same basic block. Applying only the marker-copy change from the linked diff made the same test pass (1 passed, 0 failed). This establishes the emitted-code ordering for an eligible split compute shader; AMD driver execution was not measured. AI use: Codex (GPT-6.2 Sol) ran the exact-main control and checked this follow-up; Codex (GPT-6.2 Astra) traced the original split path.
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!3159
No description provided.