Tests: verify direct DXIL vs HLSL parity for VOP3P, movrel, and 64-bit VALU #1813

Open
Ctrl-Alt-Haze wants to merge 1 commit from upstream-pr/1823 into main
Ctrl-Alt-Haze commented 2026-11-24 21:22:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Ctrl-Alt-Haze on 2026-11-24T21:22:36Z.


Add GPU differential parity tests between the direct RDNA2 -> DXIL translator (gpu::dxil::kernel::translate_full) and the HLSL + DXC path (gpu::recomp::translate + dxc::compile) for lower_wide instructions (VOP3P packed integer/dot ops, movrel/swaprel, and 64-bit integer / f64 VALU). Test-only change; no runtime files modified.

What is in it

  • crates/xcl/tests/gpu_dxil_wide_parity.rs:
    • direct_dxil_vop3p_packed_int_and_dot_parity: v_pk_add/sub/mad/mul_lo/lshlrev/lshrrev/ashrrev/min/max (u16/i16, wrapping & CLAMP, OP_SEL/OP_SEL_HI) and v_dot4_i32_i8/u8, v_dot4c_i32_i8, v_dot8_i32_i4/u4, v_dot2_i32_i16/u16, and exact-input v_dot2_f32_f16.
    • direct_dxil_movrel_and_swaprel_parity: v_movrels_b32, v_movreld_b32, v_movrelsd_b32, v_movrelsd_2_b32, and v_swaprel_b32 with dynamic/divergent EXEC masks.
    • direct_dxil_valu64_int_and_f64_parity: v_lshlrev_b64, v_lshrrev_b64, v_ashrrev_i64, v_mad_u64_u32 / v_mad_i64_i32 (with carry masks), v_cmp_*_u64/i64/f64, and f64 arithmetic / rounding / conversion ops (v_add_f64, v_mul_f64, v_fma_f64, v_min_f64, v_max_f64, v_floor_f64, v_ceil_f64, v_fract_f64, v_rndne_f64, v_cvt_f32_f64, v_cvt_f64_f32).
    • Validates every direct DXIL module with dxil::validate::validate and executes all runnable wave configurations (split-w64 + wave32 on Wave32 GPUs; native-w64 on Wave64 GPUs).

Tested

  • hardware (GPU + driver, CPU), Rust version, debug / release: NVIDIA GeForce RTX 5070 Ti (driver 32.0.16.2135, Wave32), AMD Ryzen 9 5950X, Windows 11 Build 26340, rustc 1.99.1 (58cf8f9c3 2026-10-13), DXC 1.8.2502.11, debug, synthetic tests only (no game files).
  • cargo test -p xcl --test gpu_dxil_wide_parity -- --nocapture: 3 passed, 0 failed, 0 ignored (ran both split-w64 and wave32 on RTX 5070 Ti).
  • .\scripts\test.ps1 (cargo build --workspace + cargo test --workspace -- --test-threads=4): 895 passed, 0 failed, 42 ignored (SKIPPED GPU tests: 2 (no wave64) — gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask, gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware; 1 (no heap windows) — heap_window_out_of_memory_falls_back_to_the_switch_form).

Not tested

  • native-w64 execution path (RTX 5070 Ti supports Wave32 / split-Wave64 only; native Wave64 was skipped by configs()).
  • Retail game packs (XCL_SAMPLE_* variables unset).

AI use

  • Antigravity (Google DeepMind; exact model version not exposed to agent) wrote crates/xcl/tests/gpu_dxil_wide_parity.rs and ran the test suite.
<!-- greyfinch-sync:ivall/xcl:issue:5480560987 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823). Originally posted by [Ctrl-Alt-Haze](https://github.com/Ctrl-Alt-Haze) on 2026-11-24T21:22:36Z. --- Add GPU differential parity tests between the direct RDNA2 -> DXIL translator (`gpu::dxil::kernel::translate_full`) and the HLSL + DXC path (`gpu::recomp::translate` + `dxc::compile`) for `lower_wide` instructions (`VOP3P` packed integer/dot ops, `movrel`/`swaprel`, and 64-bit integer / `f64` VALU). Test-only change; no runtime files modified. **What is in it** - `crates/xcl/tests/gpu_dxil_wide_parity.rs`: - `direct_dxil_vop3p_packed_int_and_dot_parity`: `v_pk_add/sub/mad/mul_lo/lshlrev/lshrrev/ashrrev/min/max` (`u16`/`i16`, wrapping & `CLAMP`, `OP_SEL`/`OP_SEL_HI`) and `v_dot4_i32_i8`/`u8`, `v_dot4c_i32_i8`, `v_dot8_i32_i4`/`u4`, `v_dot2_i32_i16`/`u16`, and exact-input `v_dot2_f32_f16`. - `direct_dxil_movrel_and_swaprel_parity`: `v_movrels_b32`, `v_movreld_b32`, `v_movrelsd_b32`, `v_movrelsd_2_b32`, and `v_swaprel_b32` with dynamic/divergent `EXEC` masks. - `direct_dxil_valu64_int_and_f64_parity`: `v_lshlrev_b64`, `v_lshrrev_b64`, `v_ashrrev_i64`, `v_mad_u64_u32` / `v_mad_i64_i32` (with carry masks), `v_cmp_*_u64`/`i64`/`f64`, and `f64` arithmetic / rounding / conversion ops (`v_add_f64`, `v_mul_f64`, `v_fma_f64`, `v_min_f64`, `v_max_f64`, `v_floor_f64`, `v_ceil_f64`, `v_fract_f64`, `v_rndne_f64`, `v_cvt_f32_f64`, `v_cvt_f64_f32`). - Validates every direct DXIL module with `dxil::validate::validate` and executes all runnable wave configurations (`split-w64` + `wave32` on Wave32 GPUs; `native-w64` on Wave64 GPUs). **Tested** - hardware (GPU + driver, CPU), Rust version, debug / release: NVIDIA GeForce RTX 5070 Ti (driver 32.0.16.2135, Wave32), AMD Ryzen 9 5950X, Windows 11 Build 26340, `rustc 1.99.1 (58cf8f9c3 2026-10-13)`, DXC `1.8.2502.11`, debug, synthetic tests only (no game files). - `cargo test -p xcl --test gpu_dxil_wide_parity -- --nocapture`: 3 passed, 0 failed, 0 ignored (ran both `split-w64` and `wave32` on RTX 5070 Ti). - `.\scripts\test.ps1` (`cargo build --workspace` + `cargo test --workspace -- --test-threads=4`): 895 passed, 0 failed, 42 ignored (SKIPPED GPU tests: `2 (no wave64)` — `gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware`; `1 (no heap windows)` — `heap_window_out_of_memory_falls_back_to_the_switch_form`). **Not tested** - `native-w64` execution path (RTX 5070 Ti supports Wave32 / split-Wave64 only; native Wave64 was skipped by `configs()`). - Retail game packs (`XCL_SAMPLE_*` variables unset). **AI use** - Antigravity (Google DeepMind; exact model version not exposed to agent) wrote `crates/xcl/tests/gpu_dxil_wide_parity.rs` and ran the test suite.
DarkPanda69 commented 2026-11-24 22:06:45 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DarkPanda69 on 2026-11-24T21:36:12Z.


AMD run with native 64-lane waves, so the native-w64 configuration that configs() skipped on the RTX 5070 Ti runs here.

Tested: pass, head 2d86fe2 applied on its base main c4d37be, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X, DXC 1.9.2602.17.
cargo test -p xcl --test gpu_dxil_wide_parity -- --test-threads=4:

  • AMD RX 9070 XT (RDNA4), driver 32.0.32029.2010, waves 32..64: 3 passed, 0 failed, 0 SKIPPED (direct_dxil_vop3p_packed_int_and_dot_parity, direct_dxil_movrel_and_swaprel_parity, direct_dxil_valu64_int_and_f64_parity).
  • NVIDIA RTX 3060, driver 32.0.16.1088, waves 32 only: 3 passed, 0 failed, 0 SKIPPED.

cargo test -p xcl --lib -- gpu::recomp --test-threads=4 with this PR applied: RX 9070 XT 261 passed, 0 failed, 18 ignored; RTX 3060 261 passed, 0 failed, 18 ignored (the SKIPPED lines on both are the same as on main).

Not tested: Intel; the whole workspace suite.

AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7145147833 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7145147833). Originally posted by [DarkPanda69](https://github.com/DarkPanda69) on 2026-11-24T21:36:12Z. --- AMD run with native 64-lane waves, so the `native-w64` configuration that `configs()` skipped on the RTX 5070 Ti runs here. **Tested:** pass, head `2d86fe2` applied on its base `main` `c4d37be`, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X, DXC 1.9.2602.17. `cargo test -p xcl --test gpu_dxil_wide_parity -- --test-threads=4`: - AMD RX 9070 XT (RDNA4), driver 32.0.32029.2010, waves 32..64: 3 passed, 0 failed, 0 SKIPPED (`direct_dxil_vop3p_packed_int_and_dot_parity`, `direct_dxil_movrel_and_swaprel_parity`, `direct_dxil_valu64_int_and_f64_parity`). - NVIDIA RTX 3060, driver 32.0.16.1088, waves 32 only: 3 passed, 0 failed, 0 SKIPPED. `cargo test -p xcl --lib -- gpu::recomp --test-threads=4` with this PR applied: RX 9070 XT 261 passed, 0 failed, 18 ignored; RTX 3060 261 passed, 0 failed, 18 ignored (the SKIPPED lines on both are the same as on `main`). **Not tested:** Intel; the whole workspace suite. AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report.
upipibi commented 2026-11-24 22:06:48 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by upipibi on 2026-11-24T21:41:33Z.


Same on Ampere: RTX 3070 8 GB (32-lane waves, so split-w64 and wave32 run, native-w64 skips), driver 616.56, Windows 11, debug, 2d86fe2 merged onto main 1d027e5. cargo test -p xcl --test gpu_dxil_wide_parity: 3 passed, 0 failed, in 2 of 2 runs.

AI-assisted (Claude Code). Synthetic tests only.

<!-- greyfinch-sync:ivall/xcl:comment:7145263756 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7145263756). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-24T21:41:33Z. --- Same on Ampere: RTX 3070 8 GB (32-lane waves, so `split-w64` and `wave32` run, `native-w64` skips), driver 616.56, Windows 11, debug, `2d86fe2` merged onto `main` `1d027e5`. `cargo test -p xcl --test gpu_dxil_wide_parity`: 3 passed, 0 failed, in 2 of 2 runs. AI-assisted (Claude Code). Synthetic tests only.
Ctrl-Alt-Haze commented 2026-11-24 23:08:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Ctrl-Alt-Haze on 2026-11-24T22:15:50Z.


Thanks @DarkPanda69 (RX 9070 XT native-w64 + RTX 3060) and @upipibi (RTX 3070) for testing 2d86fe2 and confirming all 3 wide-parity tests pass!

<!-- greyfinch-sync:ivall/xcl:comment:7146011720 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7146011720). Originally posted by [Ctrl-Alt-Haze](https://github.com/Ctrl-Alt-Haze) on 2026-11-24T22:15:50Z. --- Thanks @DarkPanda69 (RX 9070 XT `native-w64` + RTX 3060) and @upipibi (RTX 3070) for testing `2d86fe2` and confirming all 3 wide-parity tests pass!
DavidM1911 commented 2026-11-25 01:10:48 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T00:39:38Z.


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

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

Thanks!

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

Imported from ivall/xcl. Originally posted by Ctrl-Alt-Haze on 2026-11-25T00:55:49Z.


@DavidM1911 Thanks for verifying 2d86fe2 merged with current main on RTX 3060 Ti!

<!-- greyfinch-sync:ivall/xcl:comment:7149034722 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7149034722). Originally posted by [Ctrl-Alt-Haze](https://github.com/Ctrl-Alt-Haze) on 2026-11-25T00:55:49Z. --- @DavidM1911 Thanks for verifying `2d86fe2` merged with current `main` on RTX 3060 Ti!
JJAutoCompare commented 2026-11-25 04:10:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T03:27:43Z.


Tested

PR #1823 was open at 2d86fe232f074e0c19bb4cc46233c9c2d57d757f before and after the run. The existing STOR-WINLAB worktree was clean and detached at that exact commit.

  • Windows 11 Enterprise Evaluation 26200.9974, AMD Ryzen 7 3800X, and Intel Arc A770 (driver 32.0.101.9175). Debug test profile with debug info disabled. Rust 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc) and Cargo 1.100.0. The test loaded DXC and DXIL 1.9.2609.5 from %LOCALAPPDATA%/XclTooling/dxc-1.9.2609/bin/x64 via XCL_DXC_DIR. XCL_ADAPTER=A770.
  • CARGO_BUILD_JOBS=2, CARGO_INCREMENTAL=0, CARGO_PROFILE_DEV_DEBUG=0, CARGO_PROFILE_TEST_DEBUG=0. Cargo used L:/XclTooling/pr1947-1831ec4-t3-97236edf/target. TEMP and TMP were L:/XclTooling/pr1823/temp.
cargo test --locked -p xcl --test gpu_dxil_wide_parity --no-run --message-format=json
$fixtureExe = 'L:/XclTooling/pr1947-1831ec4-t3-97236edf/target/debug/build/xcl/6043573efe2f2b4d/out/gpu_dxil_wide_parity-6043573efe2f2b4d.exe'
& 'L:/XclTooling/Invoke-ArcTest.ps1' -Test { & $fixtureExe --exact direct_dxil_vop3p_packed_int_and_dot_parity --nocapture --test-threads=1 }

Prebuild outside the mutex exited 0. The filtered binary ran under the Arc mutex in a fresh PowerShell with process-scoped RemoteSigned. The wrapper released the mutex and exited 0. 1 passed, 0 failed, 0 ignored, 0 explicit SKIPPED lines, 2 filtered out (1.43 s).

split-w64 (64 logical lanes) and wave32 (32 lanes) passed. The fixture validated direct DXIL and matched the HLSL/DXC readback across 22 VGPRs per lane. The wave branches follow from the checked-in configs() gates and the existing same-host A770 D3D12 capability log (wave lanes 8–32). The gate omitted native-w64 without emitting a test skip.

Not tested

native-w64, the movrel/swaprel and 64-bit VALU fixtures, fuzzing, the workspace suite, retail games, and other adapters.

AI use

T3 Code / Codex gpt-6.2-sol ran the fixture and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7151935626 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7151935626). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T03:27:43Z. --- **Tested** PR #1823 was open at `2d86fe232f074e0c19bb4cc46233c9c2d57d757f` before and after the run. The existing STOR-WINLAB worktree was clean and detached at that exact commit. - Windows 11 Enterprise Evaluation 26200.9974, AMD Ryzen 7 3800X, and Intel Arc A770 (driver 32.0.101.9175). Debug test profile with debug info disabled. Rust 1.100.0 (`0ef1bc386`, `x86_64-pc-windows-msvc`) and Cargo 1.100.0. The test loaded DXC and DXIL 1.9.2609.5 from `%LOCALAPPDATA%/XclTooling/dxc-1.9.2609/bin/x64` via `XCL_DXC_DIR`. `XCL_ADAPTER=A770`. - `CARGO_BUILD_JOBS=2`, `CARGO_INCREMENTAL=0`, `CARGO_PROFILE_DEV_DEBUG=0`, `CARGO_PROFILE_TEST_DEBUG=0`. Cargo used `L:/XclTooling/pr1947-1831ec4-t3-97236edf/target`. `TEMP` and `TMP` were `L:/XclTooling/pr1823/temp`. ```powershell cargo test --locked -p xcl --test gpu_dxil_wide_parity --no-run --message-format=json $fixtureExe = 'L:/XclTooling/pr1947-1831ec4-t3-97236edf/target/debug/build/xcl/6043573efe2f2b4d/out/gpu_dxil_wide_parity-6043573efe2f2b4d.exe' & 'L:/XclTooling/Invoke-ArcTest.ps1' -Test { & $fixtureExe --exact direct_dxil_vop3p_packed_int_and_dot_parity --nocapture --test-threads=1 } ``` Prebuild outside the mutex exited 0. The filtered binary ran under the Arc mutex in a fresh PowerShell with process-scoped `RemoteSigned`. The wrapper released the mutex and exited 0. **1 passed, 0 failed, 0 ignored, 0 explicit `SKIPPED` lines, 2 filtered out** (1.43 s). `split-w64` (64 logical lanes) and `wave32` (32 lanes) passed. The fixture validated direct DXIL and matched the HLSL/DXC readback across 22 VGPRs per lane. The wave branches follow from the checked-in `configs()` gates and the existing same-host A770 D3D12 capability log (wave lanes 8–32). The gate omitted `native-w64` without emitting a test skip. **Not tested** `native-w64`, the `movrel`/`swaprel` and 64-bit VALU fixtures, fuzzing, the workspace suite, retail games, and other adapters. **AI use** T3 Code / Codex `gpt-6.2-sol` ran the fixture and wrote this report.
Ctrl-Alt-Haze commented 2026-11-25 04:10:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Ctrl-Alt-Haze on 2026-11-25T03:35:43Z.


@JJAutoCompare Thanks for verifying 2d86fe2 on Intel Arc A770 (direct_dxil_vop3p_packed_int_and_dot_parity passing across split-w64 and wave32)!

<!-- greyfinch-sync:ivall/xcl:comment:7152060316 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7152060316). Originally posted by [Ctrl-Alt-Haze](https://github.com/Ctrl-Alt-Haze) on 2026-11-25T03:35:43Z. --- @JJAutoCompare Thanks for verifying `2d86fe2` on Intel Arc A770 (`direct_dxil_vop3p_packed_int_and_dot_parity` passing across `split-w64` and `wave32`)!
github-actions[bot] commented 2026-11-28 08:02:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T08:02:12Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7236319746 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7236319746). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T08:02:12Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
brainhay5 commented 2026-11-30 08:05:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-11-30T08:05:29Z.


merge-check claim
head: 2d86fe232f

<!-- greyfinch-sync:ivall/xcl:comment:7272470437 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7272470437). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-11-30T08:05:29Z. --- merge-check claim head: 2d86fe232f074e0c19bb4cc46233c9c2d57d757f
brainhay5 commented 2026-11-30 08:11:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-11-30T08:11:02Z.


merge-check
base: d52ff48caa
head: 2d86fe232f
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2878 passed, 2 failed, 51 ignored; 29 SKIPPED lines

failing: test_title_runs_and_game_folder_is_untouched
review: automated overnight check — diff inspected for safety only (no build/CI/toolchain/script changes, no process/network/runtime-loading code); no duplicate search performed; no line-by-line code review.
performance: not assessed beyond the suite.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 610.88 (32.0.16.1088); Ryzen 7 5800X3D, 64 GB; Windows 11 22631; OpenCode agent, DeepSeek V4.1 Flash 1017

correction: this check first reported the PR as "not yet" because of a test failure that is not the PR's. The base-comparison step failed to run (test names contain a double colon, not a legal Windows filename), so an empty read was mistaken for "passes on base". gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16 fails on base d52ff48c by itself (verified separately with the same command: "assertion failed: 2D D16 resinfo clobbered v2/v3"). Verdict corrected. Apologies for the noise.

<!-- greyfinch-sync:ivall/xcl:comment:7272584441 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7272584441). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-11-30T08:11:02Z. --- merge-check base: d52ff48caade1f5350d513bfffd370396dadfeb6 head: 2d86fe232f074e0c19bb4cc46233c9c2d57d757f merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2878 passed, 2 failed, 51 ignored; 29 SKIPPED lines failing: test_title_runs_and_game_folder_is_untouched review: automated overnight check — diff inspected for safety only (no build/CI/toolchain/script changes, no process/network/runtime-loading code); no duplicate search performed; no line-by-line code review. performance: not assessed beyond the suite. verdict: safe to merge hardware / tool and model: RTX 5070 Ti 16 GB, driver 610.88 (32.0.16.1088); Ryzen 7 5800X3D, 64 GB; Windows 11 22631; OpenCode agent, DeepSeek V4.1 Flash 1017 correction: this check first reported the PR as "not yet" because of a test failure that is not the PR's. The base-comparison step failed to run (test names contain a double colon, not a legal Windows filename), so an empty read was mistaken for "passes on base". `gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16` fails on base d52ff48c by itself (verified separately with the same command: "assertion failed: 2D D16 resinfo clobbered v2/v3"). Verdict corrected. Apologies for the noise.
BBareth commented 2026-11-30 10:02:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T10:02:11Z.


merge-check claim
head: 2d86fe232f

<!-- greyfinch-sync:ivall/xcl:comment:7275025033 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7275025033). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T10:02:11Z. --- merge-check claim head: 2d86fe232f074e0c19bb4cc46233c9c2d57d757f
BBareth commented 2026-11-30 10:09:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T10:09:30Z.


merge-check
base: 9dfbe3ea66
head: 2d86fe232f
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2888 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored, 28 SKIPPED lines). 28 SKIPPED lines, as on the base. The new test binary tests/gpu_dxil_wide_parity.rs ran 3 tests, all passed (direct_dxil_vop3p_packed_int_and_dot_parity, direct_dxil_movrel_and_swaprel_parity, direct_dxil_valu64_int_and_f64_parity).
review: no blocking finding; one new integration test file, read in full; test-only, no file or process access. For three instruction groups it translates the same program through direct DXIL and through HLSL + DXC, validates the direct DXIL, runs both on the GPU and compares every SGPR and VGPR lane, for each wave configuration the adapter offers. On this card the native wave64 configuration is not available, so only the split-wave64 and wave32 configurations can have run here; the test does not print which ones ran, so I cannot name them from the log. In the same family as #2276 (image ops) and not a duplicate of it.
performance: none; tests only.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.

<!-- greyfinch-sync:ivall/xcl:comment:7275207856 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7275207856). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T10:09:30Z. --- merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: 2d86fe232f074e0c19bb4cc46233c9c2d57d757f merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2888 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored, 28 SKIPPED lines). 28 SKIPPED lines, as on the base. The new test binary `tests/gpu_dxil_wide_parity.rs` ran 3 tests, all passed (`direct_dxil_vop3p_packed_int_and_dot_parity`, `direct_dxil_movrel_and_swaprel_parity`, `direct_dxil_valu64_int_and_f64_parity`). review: no blocking finding; one new integration test file, read in full; test-only, no file or process access. For three instruction groups it translates the same program through direct DXIL and through HLSL + DXC, validates the direct DXIL, runs both on the GPU and compares every SGPR and VGPR lane, for each wave configuration the adapter offers. On this card the native wave64 configuration is not available, so only the split-wave64 and wave32 configurations can have run here; the test does not print which ones ran, so I cannot name them from the log. In the same family as #2276 (image ops) and not a duplicate of it. performance: none; tests only. verdict: safe to merge hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.
Foniass commented 2026-12-01 06:54:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:54:16Z.


Triage (#1607) – head 2d86fe2

No open or merged PR makes the same change. The other direct-DXIL/HLSL parity PRs cover other instruction groups: #2089 (VALU carries/compares, it shares only one V_CMP_LT_I64 line), #2091 (SALU) and #1843 (wave/mask). Main's core_tests.rs has a V_DOT8_U32_U4 clamp test, but no packed-int, movrel/swaprel or 64-bit VALU parity suite. No problems found in the diff.
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:7303417029 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1823#issuecomment-7303417029). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:54:16Z. --- **Triage (#1607)** – head 2d86fe2 No open or merged PR makes the same change. The other direct-DXIL/HLSL parity PRs cover other instruction groups: #2089 (VALU carries/compares, it shares only one `V_CMP_LT_I64` line), #2091 (SALU) and #1843 (wave/mask). Main's `core_tests.rs` has a `V_DOT8_U32_U4` clamp test, but no packed-int, movrel/swaprel or 64-bit VALU parity suite. No problems found in the diff. 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/1823:upstream-pr/1823'
git switch 'upstream-pr/1823'

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