Tests: host comparisons take the driver's own answer under Wine #2466

Manually merged
github merged 1 commit from gh-pr/2466/head into gh-pr/2466/base 2026-11-26 05:31:24 +00:00
Owner

@⁠ivall on GitHub · 2026-11-25 19:30 UTC · original
xcl-dev:tests-host-answers → main · +55 −23 · 5 files · 1 commits · merged 2026-11-25 19:35 UTC

The host-driver tests merged today in #1612, #1578, #1613 and #1608 fail under Wine with vkd3d-proton, as @⁠JoaoPauluu reported on each of them before the merge; I merged them without acting on that. In every case XCL answers as the driver does, and the test failed on the driver's own answer. Part of #480.

What is in it

  • crates/xcl/tests/d3d12_query_and_command_signature.rs, d3d12_create_committed_resource.rs, d3d12_command_objects_and_root_sig.rs: invalid descriptions compare XCL's result and output pointer with the driver's. The driver's refusal is still required, on Windows only (util::under_wine).
  • crates/xcl/tests/d3d12_create_placed_resource.rs: the null-description step does not run under Wine, where vkd3d-proton dereferences it and the test process ends.
  • crates/xcl/tests/console_heap_contract.rs (#1687): without unified memory the tests report a skip instead of passing in silence.

Tested

  • AMD RDNA4 (native wave64), Windows 11, DXC 1.8.2502.11, debug, on main 06055a7:
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 1411 passed, 2 failed, 46 ignored, 7 SKIPPED lines. The two failures (fuzz_validate_and_gpu_1 seed 722, _3 seed 1599) fail the same way on main.
  • the five changed files, 5 runs each: no failure, no skip.

Regression run

  • not needed: only files under crates/xcl/tests/ change.

Not tested

  • Wine and vkd3d-proton, the case this is for; NVIDIA; Intel. @⁠JoaoPauluu, could you run the five files on this head?
  • The skip of console_heap_contract (unified memory is there on this machine).

AI use

  • Claude Code (Claude Opus 5.5) wrote the change, ran the tests and wrote this on the maintainer's behalf.
**@⁠ivall** on GitHub · 2026-11-25 19:30 UTC · [original](https://github.com/xcl-dev/xcl/pull/2466) `xcl-dev:tests-host-answers` → `main` · +55 −23 · 5 files · 1 commits · merged 2026-11-25 19:35 UTC The host-driver tests merged today in #1612, #1578, #1613 and #1608 fail under Wine with vkd3d-proton, as @⁠JoaoPauluu reported on each of them before the merge; I merged them without acting on that. In every case XCL answers as the driver does, and the test failed on the driver's own answer. Part of #480. **What is in it** - `crates/xcl/tests/d3d12_query_and_command_signature.rs`, `d3d12_create_committed_resource.rs`, `d3d12_command_objects_and_root_sig.rs`: invalid descriptions compare XCL's result and output pointer with the driver's. The driver's refusal is still required, on Windows only (`util::under_wine`). - `crates/xcl/tests/d3d12_create_placed_resource.rs`: the null-description step does not run under Wine, where vkd3d-proton dereferences it and the test process ends. - `crates/xcl/tests/console_heap_contract.rs` (#1687): without unified memory the tests report a skip instead of passing in silence. **Tested** - AMD RDNA4 (native wave64), Windows 11, DXC 1.8.2502.11, debug, on `main` `06055a7`: - `cargo test --workspace --no-fail-fast -- --test-threads=4`: 1411 passed, 2 failed, 46 ignored, 7 SKIPPED lines. The two failures (`fuzz_validate_and_gpu_1` seed 722, `_3` seed 1599) fail the same way on `main`. - the five changed files, 5 runs each: no failure, no skip. **Regression run** - not needed: only files under `crates/xcl/tests/` change. **Not tested** - Wine and vkd3d-proton, the case this is for; NVIDIA; Intel. @⁠JoaoPauluu, could you run the five files on this head? - The skip of `console_heap_contract` (unified memory is there on this machine). **AI use** - Claude Code (Claude Opus 5.5) wrote the change, ran the tests and wrote this on the maintainer's behalf.
The host-driver tests of #1612, #1578 and #1613 required the driver to
refuse invalid descriptions. vkd3d-proton accepts some of them, and XCL
answers as it does, so the tests failed under Wine on the driver's answer
and not on XCL's. They now compare XCL with the driver, and still require
the refusal on Windows. The null-description step of #1608 does not run
under Wine, where vkd3d-proton dereferences it and the process ends.

The console heap tests of #1687 returned in silence without unified
memory; they report a skip now.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:31:23 +00:00
github manually merged commit 3f60df5a5a into gh-pr/2466/base 2026-11-26 05:31:24 +00:00
Author
Owner

@⁠SlopTart on GitHub · 2026-11-25 20:02 UTC · original

Fixes one of our four standing Wine-lane reds. Head merged on current main: gpu_ suite 161 passed; 3 failed and gpu_depth_buffer_created_for_unordered_access_is_placed is now green on this lane (it was red before; this is the "take the driver's own answer under Wine" change doing exactly its job). Targeted run of the new tests (subobject_23_is_unknown, the_stream_subobject_table_matches_the_pc_headers, wait64_flags_do_not_mask_the_recorded_counter, wait64_satisfied_counter..., plus the depth-buffer test): 8 passed.

The remaining three are the known baseline (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear from #2280 (report)). Same under_wine() gate pattern would also silence the UAV-clear one for the Wine lane, if you want it kept as a driver-strictness assertion only on Windows.

**@⁠SlopTart** on GitHub · 2026-11-25 20:02 UTC · [original](https://github.com/xcl-dev/xcl/pull/2466#issuecomment-7173111579) **Fixes one of our four standing Wine-lane reds.** Head merged on current main: `gpu_` suite `161 passed; 3 failed` and `gpu_depth_buffer_created_for_unordered_access_is_placed` is now green on this lane (it was red before; this is the "take the driver's own answer under Wine" change doing exactly its job). Targeted run of the new tests (`subobject_23_is_unknown`, `the_stream_subobject_table_matches_the_pc_headers`, `wait64_flags_do_not_mask_the_recorded_counter`, `wait64_satisfied_counter...`, plus the depth-buffer test): 8 passed. The remaining three are the known baseline (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear from #2280 ([report](https://git.gtahub.st/github/xcl-dev--xcl/pulls/2280))). Same `under_wine()` gate pattern would also silence the UAV-clear one for the Wine lane, if you want it kept as a driver-strictness assertion only on Windows.
This discussion has been locked. Commenting is limited to contributors.
No description provided.