Tests: implicit-LOD sample offset test uses s_wqm and the host's LOD #976

Open
vakaobr wants to merge 1 commit from upstream-pr/982 into main
vakaobr commented 2026-11-24 09:52:22 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vakaobr on 2026-11-24T09:52:22Z.


gpu_ps_image_sample_offset_implicit_lod_between_mips fails on Apple's D3DMetal (macOS, CrossOver) for two reasons, neither in the code it tests. Part of #258.

  1. The program has no s_wqm, which a console shader runs before an implicit-LOD sample. On D3DMetal, quads along a diagonal of the test's triangle have helper lanes. Their u / v stay 0, so 30 pixels read mip 3 (300 where 30.25 is expected). A plain HLSL Sample with the same offset, texture and triangle has no such pixels.
  2. The expected values assume a host LOD of exactly 0.25. A plain HLSL CalculateLevelOfDetail on D3DMetal returns 0.2421875 for every pixel, so even correct sampling misses the 0.02 tolerance (25.22 where 26 is expected).

What is in it

  • crates/xcl/src/gpu/recomp/tests.rs: the program starts with S_WQM_B64 exec, exec, and the expected values blend the two mips by the host's own LOD, read by a plain HLSL draw of the same triangle, texture and sampler. The tolerance and the per-mip texel check are unchanged. The test also asserts that the host LOD lies between mips 0 and 1.

Tested

  • MacBook Pro M5 Pro (20-core GPU), 48 GB, macOS 27.2.1, CrossOver 26.3.0.39832 with D3DMetal, Rosetta 2. Rust 1.100.0, x86_64-pc-windows-gnu (mingw-w64 GCC 16.2.0), debug, DXC 1.9.2609. Each test in its own process (<lib test exe> --exact <test> --test-threads=1 --nocapture).
  • On main 6bac4b4: fails, pixel (0,0) = 25.21875, expected 26.
  • At this PR's head 3a6f95a (on main 9aec53d): passes. gpu_image_sample_offset also passes.
  • Mutations on 6bac4b4, each failing the test as it should: mip 1 moved by mip 0's offset in emit.rs gives pixel (0,0) = 24.976563, expected 25.21875; without s_wqm, pixel (14,4) = 300, expected 30.25.
  • Independent runs at this head: AMD RX 9070 XT (RDNA4), cargo test --workspace --no-fail-fast -- --test-threads=4: 724 passed, 0 failed, 41 ignored, the same as main 9aec53d (@Diskuss, https://github.com/ivall/xcl/pull/982#issuecomment-7128416945); NVIDIA RTX 3050 Laptop, scripts/test.ps1: 724 passed, 0 failed, 41 ignored, and the test passes on the base and at this head (@LANgmas, https://github.com/ivall/xcl/pull/982#issuecomment-7129499189); a second M5 Pro (x86_64-pc-windows-gnullvm, release): fails on 9aec53d with pixel (0,0) = 25.21875, expected 26 and passes at this head (@mikebuckets171, https://github.com/ivall/xcl/pull/982#issuecomment-7129605612).

Regression run

Test-only change in tests.rs: no xcl-smoke blocks.

Not tested

  • Windows GPUs by me (see the independent runs above), and Intel GPUs by anyone.
  • The release build.

AI use

  • Claude Code with Claude Opus 5.5 found the two causes with probe shaders, wrote the change, ran the tests and mutations on the Mac, and wrote this description.
<!-- greyfinch-sync:ivall/xcl:issue:5469869672 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/982). Originally posted by [vakaobr](https://github.com/vakaobr) on 2026-11-24T09:52:22Z. --- `gpu_ps_image_sample_offset_implicit_lod_between_mips` fails on Apple's D3DMetal (macOS, CrossOver) for two reasons, neither in the code it tests. Part of #258. 1. The program has no `s_wqm`, which a console shader runs before an implicit-LOD sample. On D3DMetal, quads along a diagonal of the test's triangle have helper lanes. Their u / v stay 0, so 30 pixels read mip 3 (300 where 30.25 is expected). A plain HLSL `Sample` with the same offset, texture and triangle has no such pixels. 2. The expected values assume a host LOD of exactly 0.25. A plain HLSL `CalculateLevelOfDetail` on D3DMetal returns 0.2421875 for every pixel, so even correct sampling misses the 0.02 tolerance (25.22 where 26 is expected). **What is in it** - `crates/xcl/src/gpu/recomp/tests.rs`: the program starts with `S_WQM_B64 exec, exec`, and the expected values blend the two mips by the host's own LOD, read by a plain HLSL draw of the same triangle, texture and sampler. The tolerance and the per-mip texel check are unchanged. The test also asserts that the host LOD lies between mips 0 and 1. **Tested** - MacBook Pro M5 Pro (20-core GPU), 48 GB, macOS 27.2.1, CrossOver 26.3.0.39832 with D3DMetal, Rosetta 2. Rust 1.100.0, `x86_64-pc-windows-gnu` (mingw-w64 GCC 16.2.0), debug, DXC 1.9.2609. Each test in its own process (`<lib test exe> --exact <test> --test-threads=1 --nocapture`). - On `main` `6bac4b4`: fails, `pixel (0,0) = 25.21875, expected 26`. - At this PR's head `3a6f95a` (on `main` `9aec53d`): passes. `gpu_image_sample_offset` also passes. - Mutations on `6bac4b4`, each failing the test as it should: mip 1 moved by mip 0's offset in `emit.rs` gives `pixel (0,0) = 24.976563, expected 25.21875`; without `s_wqm`, `pixel (14,4) = 300, expected 30.25`. - Independent runs at this head: AMD RX 9070 XT (RDNA4), `cargo test --workspace --no-fail-fast -- --test-threads=4`: 724 passed, 0 failed, 41 ignored, the same as `main` `9aec53d` (@Diskuss, https://github.com/ivall/xcl/pull/982#issuecomment-7128416945); NVIDIA RTX 3050 Laptop, `scripts/test.ps1`: 724 passed, 0 failed, 41 ignored, and the test passes on the base and at this head (@LANgmas, https://github.com/ivall/xcl/pull/982#issuecomment-7129499189); a second M5 Pro (`x86_64-pc-windows-gnullvm`, release): fails on `9aec53d` with `pixel (0,0) = 25.21875, expected 26` and passes at this head (@mikebuckets171, https://github.com/ivall/xcl/pull/982#issuecomment-7129605612). **Regression run** Test-only change in `tests.rs`: no `xcl-smoke` blocks. **Not tested** - Windows GPUs by me (see the independent runs above), and Intel GPUs by anyone. - The release build. **AI use** - Claude Code with Claude Opus 5.5 found the two causes with probe shaders, wrote the change, ran the tests and mutations on the Mac, and wrote this description.
Diskuss commented 2026-11-24 11:05:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Diskuss on 2026-11-24T10:10:28Z.


Tested on AMD Radeon RX 9070 XT (RDNA4) at 3a6f95a690dfd0ab7aa7d90bd5655cb7be07d821

AMD Radeon RX 9070 XT (RDNA4), driver 32.0.32015.7029; Ryzen 7 5700X3D; 32 GB RAM; Windows 11 Pro build 26300.9974; Rust 1.100.0; DXC 1.9.2602.17; debug build.

Tested (PR head as-is; it is 0 commits behind main 9aec53d, so no merge was needed):

  • cargo build --workspace: OK (1 existing warning in xcl lib).
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 724 passed, 0 failed, 41 ignored. The #718 flake did not appear.
  • PR's test by name, cargo test -p xcl --lib gpu_ps_image_sample_offset_implicit_lod -- --test-threads=1: gpu_ps_image_sample_offset_implicit_lod_between_mips 1 passed, 0 failed.
  • 0 SKIPPED printed; 2 debug-layer tests skip silently, no Graphics Tools installed. No DXGI_ERROR_DEVICE_REMOVED.
  • Same counts as main 9aec53d (724/0/41).

Not tested: retail title / scripts/smoke.ps1 (no game files), release build.

Report written by Claude Code (Claude Sonnet 5.5) from a real run on this machine.

<!-- greyfinch-sync:ivall/xcl:comment:7128416945 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/982#issuecomment-7128416945). Originally posted by [Diskuss](https://github.com/Diskuss) on 2026-11-24T10:10:28Z. --- **Tested on AMD Radeon RX 9070 XT (RDNA4) at `3a6f95a690dfd0ab7aa7d90bd5655cb7be07d821`** AMD Radeon RX 9070 XT (RDNA4), driver 32.0.32015.7029; Ryzen 7 5700X3D; 32 GB RAM; Windows 11 Pro build 26300.9974; Rust 1.100.0; DXC 1.9.2602.17; debug build. **Tested** (PR head as-is; it is 0 commits behind main 9aec53d, so no merge was needed): - `cargo build --workspace`: OK (1 existing warning in `xcl` lib). - `cargo test --workspace --no-fail-fast -- --test-threads=4`: 724 passed, 0 failed, 41 ignored. The #718 flake did not appear. - PR's test by name, `cargo test -p xcl --lib gpu_ps_image_sample_offset_implicit_lod -- --test-threads=1`: `gpu_ps_image_sample_offset_implicit_lod_between_mips` 1 passed, 0 failed. - 0 SKIPPED printed; 2 debug-layer tests skip silently, no Graphics Tools installed. No DXGI_ERROR_DEVICE_REMOVED. - Same counts as main 9aec53d (724/0/41). **Not tested**: retail title / `scripts/smoke.ps1` (no game files), release build. Report written by Claude Code (Claude Sonnet 5.5) from a real run on this machine.
LANgmas commented 2026-11-24 11:06:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by LANgmas on 2026-11-24T10:59:00Z.


Independent validation — NVIDIA RTX 3050 Laptop (Windows D3D12)

Tested PR head: 3a6f95a690dfd0ab7aa7d90bd5655cb7be07d821
PR base: 9aec53d
Tested in isolated worktrees at the exact baseline and PR revisions.

Hardware / environment

  • NVIDIA RTX 3050 Laptop GPU, 3962 MiB VRAM
  • NVIDIA driver 617.14
  • D3D12 Feature Level 12_2
  • WaveLaneCountMin / WaveLaneCountMax: 32 / 32
  • DXC 1.9.2602.17
  • Windows SDK 10.0.26100.0
  • Windows, debug build

Focused A/B test — PASS
Test:
gpu_ps_image_sample_offset_implicit_lod_between_mips

Baseline (9aec53d, before this PR):

  • Passed on the real NVIDIA D3D12 adapter (1.63s).
  • The hardcoded host LOD assumption of 0.25 holds on this adapter/driver.

PR head (3a6f95a):

  • Passed on the real NVIDIA D3D12 adapter (1.69s).
  • The s_wqm and host-measured-LOD version introduces no regression on this NVIDIA configuration.

The D3DMetal-specific LOD deviation reported by the author (0.2421875) was not observed on this NVIDIA adapter. This report therefore does not reproduce the original D3DMetal failure; it independently checks that the PR's cross-backend test changes remain correct on NVIDIA D3D12.

Full official test wrapper — PASS
Command: .\scripts\test.ps1
Result: 724 passed, 0 failed, 41 ignored, across 17 test binaries. Exit code 0.
The wrapper reported 2 GPU tests skipped because this adapter does not support native wave64.
One existing upstream fetch_update deprecation warning was observed. No panic or device-removal event occurred.

Skip and sample-data limitations

  • Native-wave64-only test: full early skip.
  • Geometry wave64 test: wave32 portion executed; native-wave64 reference portion skipped.
  • Three additional hidden skips were observed with --nocapture: two debug-layer-dependent tests and one reserved-cubemap adapter capability test.
  • All XCL_SAMPLE_* variables were unset. Approximately 28 sample-gated tests returned early rather than exercising their full game-data paths. This is an estimate from source gates and observed runtimes, not a per-test exhaustive audit.
  • The 41 ignored tests are separate.

Not tested

  • Native wave64 hardware.
  • Retail game or sample-data workloads.
  • Release configuration.
  • The PR after integration with the current upstream main.
  • Gameplay performance or retail game playability.
    At validation time, the PR base (9aec53d) was approximately 13 commits behind current upstream main (384f7f7). This report describes the exact PR head/base tested, not merge-time validation against current main.

Interpretation
On this NVIDIA RTX 3050 configuration, the baseline test already passed, and the PR-head test also passed. The original D3DMetal-specific failure was not reproduced here. These results provide an independent NVIDIA D3D12 cross-backend check and show no regression on this adapter; they do not validate the original D3DMetal behavior or retail-game compatibility.

AI use
Devin (SWE-2 Max) assisted with test execution and result reconciliation. The contributor reviewed the results and authorized this report.

<!-- greyfinch-sync:ivall/xcl:comment:7129499189 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/982#issuecomment-7129499189). Originally posted by [LANgmas](https://github.com/LANgmas) on 2026-11-24T10:59:00Z. --- Independent validation — NVIDIA RTX 3050 Laptop (Windows D3D12) Tested PR head: `3a6f95a690dfd0ab7aa7d90bd5655cb7be07d821` PR base: `9aec53d` Tested in isolated worktrees at the exact baseline and PR revisions. Hardware / environment - NVIDIA RTX 3050 Laptop GPU, 3962 MiB VRAM - NVIDIA driver 617.14 - D3D12 Feature Level 12_2 - WaveLaneCountMin / WaveLaneCountMax: 32 / 32 - DXC 1.9.2602.17 - Windows SDK 10.0.26100.0 - Windows, debug build Focused A/B test — PASS Test: `gpu_ps_image_sample_offset_implicit_lod_between_mips` Baseline (`9aec53d`, before this PR): - Passed on the real NVIDIA D3D12 adapter (1.63s). - The hardcoded host LOD assumption of 0.25 holds on this adapter/driver. PR head (`3a6f95a`): - Passed on the real NVIDIA D3D12 adapter (1.69s). - The `s_wqm` and host-measured-LOD version introduces no regression on this NVIDIA configuration. The D3DMetal-specific LOD deviation reported by the author (0.2421875) was not observed on this NVIDIA adapter. This report therefore does not reproduce the original D3DMetal failure; it independently checks that the PR's cross-backend test changes remain correct on NVIDIA D3D12. Full official test wrapper — PASS Command: `.\scripts\test.ps1` Result: 724 passed, 0 failed, 41 ignored, across 17 test binaries. Exit code 0. The wrapper reported 2 GPU tests skipped because this adapter does not support native wave64. One existing upstream `fetch_update` deprecation warning was observed. No panic or device-removal event occurred. Skip and sample-data limitations - Native-wave64-only test: full early skip. - Geometry wave64 test: wave32 portion executed; native-wave64 reference portion skipped. - Three additional hidden skips were observed with `--nocapture`: two debug-layer-dependent tests and one reserved-cubemap adapter capability test. - All `XCL_SAMPLE_*` variables were unset. Approximately 28 sample-gated tests returned early rather than exercising their full game-data paths. This is an estimate from source gates and observed runtimes, not a per-test exhaustive audit. - The 41 ignored tests are separate. Not tested - Native wave64 hardware. - Retail game or sample-data workloads. - Release configuration. - The PR after integration with the current upstream main. - Gameplay performance or retail game playability. At validation time, the PR base (`9aec53d`) was approximately 13 commits behind current upstream main (`384f7f7`). This report describes the exact PR head/base tested, not merge-time validation against current main. Interpretation On this NVIDIA RTX 3050 configuration, the baseline test already passed, and the PR-head test also passed. The original D3DMetal-specific failure was not reproduced here. These results provide an independent NVIDIA D3D12 cross-backend check and show no regression on this adapter; they do not validate the original D3DMetal behavior or retail-game compatibility. AI use Devin (SWE-2 Max) assisted with test execution and result reconciliation. The contributor reviewed the results and authorized this report.
mikebuckets171 commented 2026-11-24 11:06:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mikebuckets171 on 2026-11-24T11:03:49Z.


Verified on a second Apple silicon host, on the gnullvm target: the test fails on the base with the LOD-shaped value you describe, and passes at this head.

Host: MacBook Pro M5 Pro (48 GB), macOS 27.2.1, CrossOver 26 with D3DMetal (adapter reports "AMD Compatibility Mode"), Rosetta 2, Rust 1.100.0, x86_64-pc-windows-gnullvm with LLVM-MinGW 20261117 (clang 23.1.6), --release --locked, test binary run under Wine, one test per process (--exact <full test path> --nocapture --test-threads=1). Base 9aec53d, head 3a6f95a.

  • 9aec53d: FAILED - panicked at crates/xcl/src/gpu/recomp/tests.rs:2060:13: pixel (0,0) = 25.21875, expected 26, test result: FAILED. 0 passed; 1 failed, exit 0x65, 0.53 s.
  • 3a6f95a: ok. 1 passed; 0 failed in 0.50 s, exit 0x0.

The failing value sits below the expected 26, which is the shape an implicit LOD a little under the 0.25 the test assumes produces (the description measured 0.2421875 on its host). I did not read this host's LOD directly, so treat that as consistent with your diagnosis rather than an independent confirmation of the number. What is confirmed here is the pair that matters for merging: the test as written does not hold on this host, and at your head it passes. Which of your two changes - adding s_wqm, or reading the host's LOD - carries the fix on this host I did not separate.

Worth noting for anyone reading the #258 threads together: with #983's head (ab7ce43) on the same base, this test still fails with the identical message at tests.rs:2080 (the line the atomics patch shifts), so the two PRs are genuinely independent - #983 does not touch it, and #982 does not touch the atomics tests. Both verified in one tree, base 9aec53d.

Not tested here: Windows (no Windows machine on this bench), and this PR's CI job has not run on GitHub - as with my own PRs here, a head from a fork shows only the PR checks description job until a maintainer approves a workflow run.

Host: macOS 27.2.1 (Apple silicon, M5 Pro), CrossOver 26, D3DMetal; local inference unloaded and the bottle's wineserver stopped for each run. AI use: GPT-6 Luna built both trees, ran the test and drafted this comment; the values and line numbers are from those runs.

<!-- greyfinch-sync:ivall/xcl:comment:7129605612 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/982#issuecomment-7129605612). Originally posted by [mikebuckets171](https://github.com/mikebuckets171) on 2026-11-24T11:03:49Z. --- **Verified on a second Apple silicon host, on the `gnullvm` target: the test fails on the base with the LOD-shaped value you describe, and passes at this head.** Host: MacBook Pro M5 Pro (48 GB), macOS 27.2.1, CrossOver 26 with D3DMetal (adapter reports "AMD Compatibility Mode"), Rosetta 2, Rust 1.100.0, `x86_64-pc-windows-gnullvm` with LLVM-MinGW 20261117 (clang 23.1.6), `--release --locked`, test binary run under Wine, one test per process (`--exact <full test path> --nocapture --test-threads=1`). Base `9aec53d`, head `3a6f95a`. - `9aec53d`: **FAILED** - `panicked at crates/xcl/src/gpu/recomp/tests.rs:2060:13: pixel (0,0) = 25.21875, expected 26`, `test result: FAILED. 0 passed; 1 failed`, exit `0x65`, 0.53 s. - `3a6f95a`: `ok. 1 passed; 0 failed` in 0.50 s, exit `0x0`. The failing value sits below the expected 26, which is the shape an implicit LOD a little under the 0.25 the test assumes produces (the description measured 0.2421875 on its host). I did not read this host's LOD directly, so treat that as consistent with your diagnosis rather than an independent confirmation of the number. What is confirmed here is the pair that matters for merging: the test as written does not hold on this host, and at your head it passes. Which of your two changes - adding `s_wqm`, or reading the host's LOD - carries the fix on this host I did not separate. Worth noting for anyone reading the #258 threads together: with #983's head (`ab7ce43`) on the same base, this test still fails with the identical message at `tests.rs:2080` (the line the atomics patch shifts), so the two PRs are genuinely independent - #983 does not touch it, and #982 does not touch the atomics tests. Both verified in one tree, base `9aec53d`. Not tested here: Windows (no Windows machine on this bench), and this PR's `CI` job has not run on GitHub - as with my own PRs here, a head from a fork shows only the `PR checks` description job until a maintainer approves a workflow run. Host: macOS 27.2.1 (Apple silicon, M5 Pro), CrossOver 26, D3DMetal; local inference unloaded and the bottle's wineserver stopped for each run. **AI use**: GPT-6 Luna built both trees, ran the test and drafted this comment; the values and line numbers are from those runs.
shortside commented 2026-11-24 12:05:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by shortside on 2026-11-24T11:56:50Z.


Test report from a second Mac, head 3a6f95a against its merge base 9aec53d.

Tested

  • MacBook Pro M5 Pro, macOS 27.2.1, Rosetta 2; CrossOver 26.3 (Wine 11.0), Windows 10 bottle, D3DMetal; DXC 1.9.2609. Cross-built for x86_64-pc-windows-msvc with clang-cl / lld-link 23.1.6 and an xwin SDK 10.0.26100, Rust 1.100.0, debug. The lib test binary run under Wine, one test per process (--exact --nocapture, 60 s cap).
  • gpu_ps_image_sample_offset_implicit_lod_between_mips: base failed (pixel (0,0) = 25.21875, expected 26 on this host); head passed.

Not tested

  • Windows and other GPUs (whether the changed expectation still holds there), the rest of the suite.

AI use

  • Claude Code with Claude Fable 5.2 built both commits, ran the tests and wrote this report.
<!-- greyfinch-sync:ivall/xcl:comment:7130755722 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/982#issuecomment-7130755722). Originally posted by [shortside](https://github.com/shortside) on 2026-11-24T11:56:50Z. --- Test report from a second Mac, head `3a6f95a` against its merge base `9aec53d`. **Tested** - MacBook Pro M5 Pro, macOS 27.2.1, Rosetta 2; CrossOver 26.3 (Wine 11.0), Windows 10 bottle, D3DMetal; DXC 1.9.2609. Cross-built for `x86_64-pc-windows-msvc` with clang-cl / lld-link 23.1.6 and an xwin SDK 10.0.26100, Rust 1.100.0, debug. The lib test binary run under Wine, one test per process (`--exact --nocapture`, 60 s cap). - `gpu_ps_image_sample_offset_implicit_lod_between_mips`: base failed (`pixel (0,0) = 25.21875, expected 26` on this host); head passed. **Not tested** - Windows and other GPUs (whether the changed expectation still holds there), the rest of the suite. **AI use** - Claude Code with Claude Fable 5.2 built both commits, ran the tests and wrote this report.
DavidM1911 commented 2026-11-24 13:03:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T12:35:01Z.


Independent verification, merged onto current main 384f7f7 locally (clean merge).

Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug; DXC 1.8.2502.11.

  • cargo test -p xcl --lib implicit: 2 passed, 0 failed — gpu_ps_image_sample_offset_implicit_lod_between_mips passes on real hardware with the s_wqm fix and host-LOD expectation.

AI use: test runs by Devin (Cognition, SWE-2); no code changes.

<!-- greyfinch-sync:ivall/xcl:comment:7131641500 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/982#issuecomment-7131641500). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T12:35:01Z. --- Independent verification, merged onto current `main` `384f7f7` locally (clean merge). **Machine:** Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug; DXC 1.8.2502.11. - `cargo test -p xcl --lib implicit`: **2 passed, 0 failed** — `gpu_ps_image_sample_offset_implicit_lod_between_mips` passes on real hardware with the `s_wqm` fix and host-LOD expectation. AI use: test runs by Devin (Cognition, SWE-2); no code changes.
DavidM1911 commented 2026-11-26 04:07:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T03:32:01Z.


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

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

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7181802072 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/982#issuecomment-7181802072). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T03:32:01Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
github-actions[bot] commented 2026-11-29 07:40:08 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:40:08Z.


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:7252615827 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/982#issuecomment-7252615827). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T07:40:08Z. --- 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:26:02 +00:00 (Migrated from github.com)

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


merge-check claim
head: 3a6f95a690

<!-- greyfinch-sync:ivall/xcl:comment:7272902730 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/982#issuecomment-7272902730). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-11-30T08:26:02Z. --- merge-check claim head: 3a6f95a690dfd0ab7aa7d90bd5655cb7be07d821
brainhay5 commented 2026-11-30 08:32:00 +00:00 (Migrated from github.com)

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


merge-check
base: d52ff48caa
head: 3a6f95a690
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2875 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:7273025238 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/982#issuecomment-7273025238). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-11-30T08:32:00Z. --- merge-check base: d52ff48caade1f5350d513bfffd370396dadfeb6 head: 3a6f95a690dfd0ab7aa7d90bd5655cb7be07d821 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2875 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:13 +00:00 (Migrated from github.com)

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


merge-check claim
head: 3a6f95a690

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

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


merge-check
base: 9dfbe3ea66
head: 3a6f95a690
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2885 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 changed test gpu_ps_image_sample_offset_implicit_lod_between_mips passed.
review: no blocking finding; test-only, one file, every hunk read. The test program now starts with s_wqm, as a console pixel shader does before an implicit-LOD sample, and the expected mip weights come from the host's own LOD (a plain HLSL draw with CalculateLevelOfDetail over the same texture, sampler and coordinates) in place of the constant 0.25. The assertion is not weakened in tolerance (still 0.02), and it gains a check that the host LOD lies strictly between mips 0 and 1; what changes is that a host whose LOD differs slightly (the description names D3DMetal at 0.2421875) is compared against its own value. On this card the test passed before and after. The D3DMetal behaviour rests on the author's report.
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:7275208396 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/982#issuecomment-7275208396). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T10:09:32Z. --- merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: 3a6f95a690dfd0ab7aa7d90bd5655cb7be07d821 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2885 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 changed test `gpu_ps_image_sample_offset_implicit_lod_between_mips` passed. review: no blocking finding; test-only, one file, every hunk read. The test program now starts with `s_wqm`, as a console pixel shader does before an implicit-LOD sample, and the expected mip weights come from the host's own LOD (a plain HLSL draw with `CalculateLevelOfDetail` over the same texture, sampler and coordinates) in place of the constant 0.25. The assertion is not weakened in tolerance (still 0.02), and it gains a check that the host LOD lies strictly between mips 0 and 1; what changes is that a host whose LOD differs slightly (the description names D3DMetal at 0.2421875) is compared against its own value. On this card the test passed before and after. The D3DMetal behaviour rests on the author's report. 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.
vakaobr commented 2026-11-30 13:22:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vakaobr on 2026-11-30T13:22:00Z.


Two safe to merge checks above (thank you @BBareth and @brainhay5); waiting for a merge.

<!-- greyfinch-sync:ivall/xcl:comment:7279741071 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/982#issuecomment-7279741071). Originally posted by [vakaobr](https://github.com/vakaobr) on 2026-11-30T13:22:00Z. --- Two `safe to merge` checks above (thank you @BBareth and @brainhay5); waiting for a merge.
Foniass commented 2026-12-01 04:35:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:35:26Z.


Triage (#1607) – head 3a6f95a

No open or merged PR makes this test change. Main has neither the s_wqm nor the host-LOD reference. However, main has since moved the body of gpu_ps_image_sample_offset_implicit_lod_between_mips into a shared implicit_lod_between_mips(s_sharp) helper, which an aniso-point variant also uses. The change has to be redone in that helper (both tests get it), and the host LOD draw needs the S# that the caller passes.
No problems found in the diff itself.
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:7300888816 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/982#issuecomment-7300888816). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:35:26Z. --- **Triage (#1607)** – head 3a6f95a No open or merged PR makes this test change. Main has neither the `s_wqm` nor the host-LOD reference. However, main has since moved the body of `gpu_ps_image_sample_offset_implicit_lod_between_mips` into a shared `implicit_lod_between_mips(s_sharp)` helper, which an aniso-point variant also uses. The change has to be redone in that helper (both tests get it), and the host LOD draw needs the S# that the caller passes. No problems found in the diff itself. 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/982:upstream-pr/982'
git switch 'upstream-pr/982'

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