Tests: cover image_get_lod static samplers on GPU #1851

Open
Flyander wants to merge 1 commit from upstream-pr/1861 into main
Flyander commented 2026-11-24 22:04:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Flyander on 2026-11-24T22:04:59Z.


Part of #1269. Adds real GPU regression coverage for the static-sampler image_get_lod path merged in #1806.

What is in it

  • crates/xcl/src/gpu/recomp/runner.rs: let the pixel-draw test harness build a root signature with static samplers.
  • crates/xcl/src/gpu/recomp/tests.rs: translate a synthetic IMAGE_GET_LOD pixel shader, draw it, and check the clamped LOD 0 and unclamped LOD -2 results.

Tested

  • RTX 5070 Ti (driver 621.40), Ryzen 7 5800X3D, Windows 11 Pro 26300, Rust 1.100.0, DXC/DXIL 1.9.2602.17.
  • cargo test --locked -p xcl --lib gpu_direct_image_get_lod_static_sampler -- --nocapture --test-threads=1: 1 passed, 0 failed.
  • scripts/test.ps1 (cargo build --workspace, cargo test --workspace -- --test-threads=4): 960 passed, 0 failed, 43 ignored; 22 GPU tests skipped (wave64, heap-window, or unsupported translator semantics).

Regression run

main:

xcl-smoke v1
commit: 1d027e5c76c9a86a7ee2ca1cc677edf0be95d331
gpu: NVIDIA GeForce RTX 5070 Ti
title: GTA6-Xbox-v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 983 (PresentX 983)
presents per 2 s (last 3): 54 59 60
device removals: 0
crashes: 0
peak commit: 16039 MB

PR head:

xcl-smoke v1
commit: 14dc4456dc3876020daff223fe844561c617c0c4
gpu: NVIDIA GeForce RTX 5070 Ti
title: GTA6-Xbox-v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1088 (PresentX 1089)
presents per 2 s (last 3): 58 55 35
device removals: 0
crashes: 0
peak commit: 16516 MB

Not tested

  • AMD / Intel GPUs.
  • Whether the retail title uses this specific static-sampler shader path; the smoke is a stability comparison.

AI use

  • Omitted.
<!-- greyfinch-sync:ivall/xcl:issue:5481103957 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1861). Originally posted by [Flyander](https://github.com/Flyander) on 2026-11-24T22:04:59Z. --- Part of #1269. Adds real GPU regression coverage for the static-sampler `image_get_lod` path merged in #1806. **What is in it** - `crates/xcl/src/gpu/recomp/runner.rs`: let the pixel-draw test harness build a root signature with static samplers. - `crates/xcl/src/gpu/recomp/tests.rs`: translate a synthetic `IMAGE_GET_LOD` pixel shader, draw it, and check the clamped LOD 0 and unclamped LOD -2 results. **Tested** - RTX 5070 Ti (driver 621.40), Ryzen 7 5800X3D, Windows 11 Pro 26300, Rust 1.100.0, DXC/DXIL 1.9.2602.17. - `cargo test --locked -p xcl --lib gpu_direct_image_get_lod_static_sampler -- --nocapture --test-threads=1`: 1 passed, 0 failed. - `scripts/test.ps1` (`cargo build --workspace`, `cargo test --workspace -- --test-threads=4`): 960 passed, 0 failed, 43 ignored; 22 GPU tests skipped (wave64, heap-window, or unsupported translator semantics). **Regression run** `main`: ``` xcl-smoke v1 commit: 1d027e5c76c9a86a7ee2ca1cc677edf0be95d331 gpu: NVIDIA GeForce RTX 5070 Ti title: GTA6-Xbox-v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 983 (PresentX 983) presents per 2 s (last 3): 54 59 60 device removals: 0 crashes: 0 peak commit: 16039 MB ``` PR head: ``` xcl-smoke v1 commit: 14dc4456dc3876020daff223fe844561c617c0c4 gpu: NVIDIA GeForce RTX 5070 Ti title: GTA6-Xbox-v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1088 (PresentX 1089) presents per 2 s (last 3): 58 55 35 device removals: 0 crashes: 0 peak commit: 16516 MB ``` **Not tested** - AMD / Intel GPUs. - Whether the retail title uses this specific static-sampler shader path; the smoke is a stability comparison. **AI use** - Omitted.
upipibi commented 2026-11-24 23:08:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by upipibi on 2026-11-24T22:21:55Z.


Same on Ampere: RTX 3070 8 GB, driver 616.56, Windows 11, debug, 14dc445 merged onto main 689f2db. gpu_direct_image_get_lod_static_sampler passes 2 of 2 runs, both with and without XCL_DIRECT_DXIL=1.


Added 16:42Z: whole workspace on this head, as is (base 1d027e5), RTX 3070 (616.56), Windows 11, debug, after cargo build --workspace, cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2:

  • 14dc445: 951 passed, 0 failed, 43 ignored. The end-to-end title tests pass.
  • main 0829441 on the same machine, same command: 1263 passed, 0 failed, 46 ignored (the PR's base is older, so it has fewer tests).
  • Skipped hle::xaudio2, because its tests fail or hang on this machine on main too. The PR doesn't touch it.
  • SKIPPED lines: 23: 18 no wave64 on this card, 3 f16/f32 forms the per-lane path refuses, 1 no heap windows, and 1 PSO measurement that needs Developer Mode to turn the driver cache off.

AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only.

<!-- greyfinch-sync:ivall/xcl:comment:7146138793 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1861#issuecomment-7146138793). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-24T22:21:55Z. --- Same on Ampere: RTX 3070 8 GB, driver 616.56, Windows 11, debug, `14dc445` merged onto `main` `689f2db`. `gpu_direct_image_get_lod_static_sampler` passes 2 of 2 runs, both with and without `XCL_DIRECT_DXIL=1`. --- **Added 16:42Z: whole workspace on this head, as is** (base `1d027e5`), RTX 3070 (616.56), Windows 11, debug, after `cargo build --workspace`, `cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2`: - `14dc445`: **951 passed, 0 failed, 43 ignored**. The end-to-end title tests pass. - `main` `0829441` on the same machine, same command: 1263 passed, 0 failed, 46 ignored (the PR's base is older, so it has fewer tests). - Skipped `hle::xaudio2`, because its tests fail or hang on this machine on `main` too. The PR doesn't touch it. - SKIPPED lines: 23: 18 `no wave64` on this card, 3 f16/f32 forms the per-lane path refuses, 1 no heap windows, and 1 PSO measurement that needs Developer Mode to turn the driver cache off. AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only.
DarkPanda69 commented 2026-11-24 23:08:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DarkPanda69 on 2026-11-24T22:40:16Z.


AMD run, which this PR lists as not tested (the other report here is Ampere).

Tested: pass, head 14dc445 applied on main 689f2db, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X, DXC 1.9.2602.17.
cargo test -p xcl --lib -- gpu::recomp --test-threads=4:

  • AMD RX 9070 XT (RDNA4), driver 32.0.32029.2010, native wave64: 262 passed, 0 failed, 18 ignored. gpu_direct_image_get_lod_static_sampler ok. The 6 SKIPPED lines (per-lane form refused for some f16/f32 programs) are the same on main.
  • NVIDIA RTX 3060, driver 32.0.16.1088: 262 passed, 0 failed, 18 ignored. Same test ok.

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:7146506522 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1861#issuecomment-7146506522). Originally posted by [DarkPanda69](https://github.com/DarkPanda69) on 2026-11-24T22:40:16Z. --- AMD run, which this PR lists as not tested (the other report here is Ampere). **Tested:** pass, head `14dc445` applied on `main` `689f2db`, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X, DXC 1.9.2602.17. `cargo test -p xcl --lib -- gpu::recomp --test-threads=4`: - AMD RX 9070 XT (RDNA4), driver 32.0.32029.2010, native wave64: 262 passed, 0 failed, 18 ignored. `gpu_direct_image_get_lod_static_sampler` ok. The 6 SKIPPED lines (per-lane form refused for some f16/f32 programs) are the same on `main`. - NVIDIA RTX 3060, driver 32.0.16.1088: 262 passed, 0 failed, 18 ignored. Same test ok. **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.
DavidM1911 commented 2026-11-25 02:08:53 +00:00 (Migrated from github.com)

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


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:7149783430 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1861#issuecomment-7149783430). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T01:38:26Z. --- 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!
JJAutoCompare commented 2026-11-25 04:10:24 +00:00 (Migrated from github.com)

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


Tested

  • XCL PR #1861 at 14dc4456dc3876020daff223fe844561c617c0c4. The live PR was open at this head before and after the run. The reused detached checkout matched the SHA and was clean both times.
  • Intel Arc A770, driver 32.0.101.9175, AMD Ryzen 7 3800X (6 cores / 12 logical processors exposed), Windows 11 Enterprise Evaluation 26200.9974, Rust and Cargo 1.100.0 (x86_64-pc-windows-msvc). The run log confirms DXC and DXIL 1.9.2609.5 loaded from the explicit XCL_DXC_DIR below.
  • The exact synthetic draw passed in 0.70 s with 1 passed, 0 failed, 0 ignored, 0 skipped (933 filtered out). It drew with the direct DXIL pixel shader and its root-signature static sampler. GPU readback passed both assertions at every pixel of the 16 × 16 render target. The red channel, clamped LOD, was within < 0.02 of 0.0. The green channel, unclamped LOD, was within < 0.02 of -2.0. The passing fixture emits no raw channel values, so the run establishes those bounds and does not establish bit-exact values.
$run = 'L:/XclTooling/pr1861/run-20261125T031606102Z'
$env:TEMP = Join-Path $run 'temp'
$env:TMP = $env:TEMP
$env:CARGO_TARGET_DIR = 'L:/XclTooling/pr2014-1c971de6/target'
$env:CARGO_BUILD_JOBS = '2'
$env:CARGO_INCREMENTAL = '0'
$env:CARGO_PROFILE_DEV_DEBUG = '0'
$env:CARGO_PROFILE_TEST_DEBUG = '0'
$env:XCL_ADAPTER = 'A770'
$env:XCL_DXC_DIR = "$env:LOCALAPPDATA/XclTooling/dxc-1.9.2609/bin/x64"
$env:XCL_DXIL_CACHE = Join-Path $run 'dxil-cache'
cargo test --locked -p xcl --lib --no-run --message-format=json
$env:XCL_PR1861_TEST_EXE = 'L:/XclTooling/pr2014-1c971de6/target/debug/build/xcl/77aca8ccb20e299f/out/xcl-77aca8ccb20e299f.exe'
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -Command '& ''L:/XclTooling/Invoke-ArcTest.ps1'' -Test { & $env:XCL_PR1861_TEST_EXE ''gpu::recomp::tests::gpu_direct_image_get_lod_static_sampler'' --exact --nocapture --test-threads=1 }; exit $LASTEXITCODE'

The prebuild finished outside the mutex. The wrapper acquired and released the Arc mutex around the test executable, which exited 0. RemoteSigned applied only to the child PowerShell process. Captured logs are prebuild.jsonl, prebuild.stderr.log, gpu.stdout.log, and gpu.stderr.log in the run directory.

Not tested

Repeat-draw bitwise determinism, HLSL pixel-shader parity, other adapters or drivers, retail titles, smoke runs, or the wider suite.

AI use

T3 Code / Codex (gpt-6.2-sol) ran the checked-in test and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7151816370 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1861#issuecomment-7151816370). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T03:20:04Z. --- **Tested** - XCL PR #1861 at `14dc4456dc3876020daff223fe844561c617c0c4`. The live PR was open at this head before and after the run. The reused detached checkout matched the SHA and was clean both times. - Intel Arc A770, driver `32.0.101.9175`, AMD Ryzen 7 3800X (6 cores / 12 logical processors exposed), Windows 11 Enterprise Evaluation `26200.9974`, Rust and Cargo `1.100.0` (`x86_64-pc-windows-msvc`). The run log confirms DXC and DXIL `1.9.2609.5` loaded from the explicit `XCL_DXC_DIR` below. - The exact synthetic draw passed in 0.70 s with **1 passed, 0 failed, 0 ignored, 0 skipped** (933 filtered out). It drew with the direct DXIL pixel shader and its root-signature static sampler. GPU readback passed both assertions at every pixel of the 16 × 16 render target. The red channel, clamped LOD, was within `< 0.02` of `0.0`. The green channel, unclamped LOD, was within `< 0.02` of `-2.0`. The passing fixture emits no raw channel values, so the run establishes those bounds and does not establish bit-exact values. ```powershell $run = 'L:/XclTooling/pr1861/run-20261125T031606102Z' $env:TEMP = Join-Path $run 'temp' $env:TMP = $env:TEMP $env:CARGO_TARGET_DIR = 'L:/XclTooling/pr2014-1c971de6/target' $env:CARGO_BUILD_JOBS = '2' $env:CARGO_INCREMENTAL = '0' $env:CARGO_PROFILE_DEV_DEBUG = '0' $env:CARGO_PROFILE_TEST_DEBUG = '0' $env:XCL_ADAPTER = 'A770' $env:XCL_DXC_DIR = "$env:LOCALAPPDATA/XclTooling/dxc-1.9.2609/bin/x64" $env:XCL_DXIL_CACHE = Join-Path $run 'dxil-cache' cargo test --locked -p xcl --lib --no-run --message-format=json $env:XCL_PR1861_TEST_EXE = 'L:/XclTooling/pr2014-1c971de6/target/debug/build/xcl/77aca8ccb20e299f/out/xcl-77aca8ccb20e299f.exe' powershell.exe -NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -Command '& ''L:/XclTooling/Invoke-ArcTest.ps1'' -Test { & $env:XCL_PR1861_TEST_EXE ''gpu::recomp::tests::gpu_direct_image_get_lod_static_sampler'' --exact --nocapture --test-threads=1 }; exit $LASTEXITCODE' ``` The prebuild finished outside the mutex. The wrapper acquired and released the Arc mutex around the test executable, which exited `0`. `RemoteSigned` applied only to the child PowerShell process. Captured logs are `prebuild.jsonl`, `prebuild.stderr.log`, `gpu.stdout.log`, and `gpu.stderr.log` in the run directory. **Not tested** Repeat-draw bitwise determinism, HLSL pixel-shader parity, other adapters or drivers, retail titles, smoke runs, or the wider suite. **AI use** T3 Code / Codex (`gpt-6.2-sol`) ran the checked-in test and wrote this report.
raylitebull commented 2026-11-25 11:09:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T10:46:44Z.


Diff review on 14dc445 looks clean, and gpu_direct_image_get_lod_static_sampler has both NVIDIA (@upipibi, @DavidM1911) and AMD (@DarkPanda69) passes.

One small CI fix needed before merge: CI 45497463897 failed in gpu_direct_image_get_lod_static_sampler with D3D12 device removed (0x887a0005) on WARP because the new test only guards runner::adapter().is_err() instead of !gpu_ready() (which in crates/xcl/src/gpu/recomp/tests.rs also checks wave64_programs_supported() and dxc::location() so WARP skips cleanly). Switching that guard to if !gpu_ready() { return; } should make CI green.

<!-- greyfinch-sync:ivall/xcl:comment:7160160473 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1861#issuecomment-7160160473). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T10:46:44Z. --- Diff review on `14dc445` looks clean, and `gpu_direct_image_get_lod_static_sampler` has both NVIDIA (`@upipibi`, `@DavidM1911`) and AMD (`@DarkPanda69`) passes. One small CI fix needed before merge: CI `45497463897` failed in `gpu_direct_image_get_lod_static_sampler` with `D3D12 device removed (0x887a0005)` on WARP because the new test only guards `runner::adapter().is_err()` instead of `!gpu_ready()` (which in `crates/xcl/src/gpu/recomp/tests.rs` also checks `wave64_programs_supported()` and `dxc::location()` so WARP skips cleanly). Switching that guard to `if !gpu_ready() { return; }` should make CI green.
Foniass commented 2026-12-01 07:01:29 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 14dc445

#1806 (merged) made image_get_lod accept static samplers and only added a translate/validate test (core_tests::ps_get_lod_with_a_static_sampler); main has no GPU test of that path and no draw helper with static samplers. This PR adds runner::draw_views_with_static_samplers and a GPU draw test checking clamped LOD 0 / unclamped LOD -2. No other open PR does the same.
No problems found in the diff. The Windows build-and-test check is red; its log was not available to see why.
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:7303555095 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1861#issuecomment-7303555095). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T07:01:29Z. --- **Triage (#1607)** – head 14dc445 #1806 (merged) made `image_get_lod` accept static samplers and only added a translate/validate test (`core_tests::ps_get_lod_with_a_static_sampler`); main has no GPU test of that path and no draw helper with static samplers. This PR adds `runner::draw_views_with_static_samplers` and a GPU draw test checking clamped LOD 0 / unclamped LOD -2. No other open PR does the same. No problems found in the diff. The Windows build-and-test check is red; its log was not available to see why. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
ClosetPie107 commented 2026-12-02 17:13:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-12-02T17:13:03Z.


Linux / AMD RDNA4 (RADV, Wine + vkd3d-proton): full test suite on 14dc445

Merged onto main 5eaadb54 (clean merge) and compared with main run twice on the same machine.

Setup

  • AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, 30 GiB RAM, CachyOS (kernel 7.3.7)
  • Wine 11.23 (system), stock vkd3d-proton v3.1-83-gcae8353ed and DXVK dxgi.dll from GE-Proton11-16, DXC 1.9.2609.5
  • Debug build, cross-compiled for x86_64-pc-windows-msvc with cargo-xwin; test binaries run under Wine

Tested: cargo xwin test --workspace --target x86_64-pc-windows-msvc --no-fail-fast -- --test-threads=4 --skip <31 tests>

passed failed ignored
main 5eaadb54 2769 177 52
this PR merged 2770 177 52
  • Tests that fail with this PR and pass on main: none.
  • Tests this PR adds: 1 of 1 pass (gpu_direct_image_get_lod_static_sampler).
About the failures on main and the 31 skipped tests (same for every PR in this batch)
  • Most of main's 177 failures under Wine come from #175: once a test has set up the real device, vkd3d-proton refuses the command allocators XCL adopts (d3d12_command_list_Reset: Invalid command allocator), and later tests get E_INVALIDARG (0x80070057). Running vkd3d-proton master with its vtable check taken out, hle::d3d12x::sparse::tests goes from 106 passed / 38 failed to 144 / 0.
  • The 31 skipped tests make vkd3d-proton's dxil-spirv call std::terminate() (Cannot reliably convert LLVM pointer type, we cannot differentiate between Function and Private), which kills the whole test binary. They are the split-wave64, dispatch-chain and bridged-mask GPU tests, gpu_compute_mode_dispatch_abi, gpu_compute_thread_limits_leave_the_lanes_past_them_out, the two gpu_mesh_mode_* tests, and console_wave64_compute_through_the_pso_hook_dispatch_and_read_back, plus serialize_root_signature_strips_console_flags_and_preserves_pc_flags, whose null descriptor vkd3d-proton dereferences. The dxil-spirv ones crash the same way with vkd3d-proton master (f8c1cae8, dxil-spirv 93ab44c5).
  • main was run twice: same counts, same failure set. SKIPPED lines (same as main): no heap windows (2), no D3D12 debug layer (2-3), driver cache control not implemented in vkd3d-proton (1).

Not tested: Windows, NVIDIA, a retail title / scripts/smoke.ps1, a review of the diff. This is a test report, not a merge-check.

AI use: omp (Claude Opus 5.5) merged, built and ran the suites on this machine, compared the results with main, and drafted this report. The user asked for it to be posted.

<!-- greyfinch-sync:ivall/xcl:comment:7353060384 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1861#issuecomment-7353060384). Originally posted by [ClosetPie107](https://github.com/ClosetPie107) on 2026-12-02T17:13:03Z. --- **Linux / AMD RDNA4 (RADV, Wine + vkd3d-proton): full test suite on `14dc445`** Merged onto `main` `5eaadb54` (clean merge) and compared with `main` run twice on the same machine. **Setup** - AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, 30 GiB RAM, CachyOS (kernel 7.3.7) - Wine 11.23 (system), stock vkd3d-proton `v3.1-83-gcae8353ed` and DXVK `dxgi.dll` from GE-Proton11-16, DXC 1.9.2609.5 - Debug build, cross-compiled for `x86_64-pc-windows-msvc` with `cargo-xwin`; test binaries run under Wine **Tested:** `cargo xwin test --workspace --target x86_64-pc-windows-msvc --no-fail-fast -- --test-threads=4 --skip <31 tests>` | | passed | failed | ignored | |---|---|---|---| | `main` `5eaadb54` | 2769 | 177 | 52 | | this PR merged | 2770 | 177 | 52 | - **Tests that fail with this PR and pass on `main`:** none. - **Tests this PR adds:** 1 of 1 pass (`gpu_direct_image_get_lod_static_sampler`). <details><summary>About the failures on <code>main</code> and the 31 skipped tests (same for every PR in this batch)</summary> - Most of `main`'s 177 failures under Wine come from #175: once a test has set up the real device, vkd3d-proton refuses the command allocators XCL adopts (`d3d12_command_list_Reset: Invalid command allocator`), and later tests get `E_INVALIDARG` (`0x80070057`). Running vkd3d-proton master with its vtable check taken out, `hle::d3d12x::sparse::tests` goes from 106 passed / 38 failed to 144 / 0. - The 31 skipped tests make vkd3d-proton's dxil-spirv call `std::terminate()` (`Cannot reliably convert LLVM pointer type, we cannot differentiate between Function and Private`), which kills the whole test binary. They are the split-wave64, dispatch-chain and bridged-mask GPU tests, `gpu_compute_mode_dispatch_abi`, `gpu_compute_thread_limits_leave_the_lanes_past_them_out`, the two `gpu_mesh_mode_*` tests, and `console_wave64_compute_through_the_pso_hook_dispatch_and_read_back`, plus `serialize_root_signature_strips_console_flags_and_preserves_pc_flags`, whose null descriptor vkd3d-proton dereferences. The dxil-spirv ones crash the same way with vkd3d-proton master (`f8c1cae8`, dxil-spirv `93ab44c5`). - `main` was run twice: same counts, same failure set. `SKIPPED` lines (same as `main`): no heap windows (2), no D3D12 debug layer (2-3), driver cache control not implemented in vkd3d-proton (1). </details> **Not tested:** Windows, NVIDIA, a retail title / `scripts/smoke.ps1`, a review of the diff. This is a test report, not a `merge-check`. **AI use:** omp (Claude Opus 5.5) merged, built and ran the suites on this machine, compared the results with `main`, and drafted this report. The user asked for it to be posted.
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/1861:upstream-pr/1861'
git switch 'upstream-pr/1861'

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