Tests: host comparisons take the driver's own answer under Wine #2466
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2466
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2466/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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 UTCThe 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
main06055a7: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_1seed 722,_3seed 1599) fail the same way onmain.Regression run
crates/xcl/tests/change.Not tested
console_heap_contract(unified memory is there on this machine).AI use
@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_suite161 passed; 3 failedandgpu_depth_buffer_created_for_unordered_access_is_placedis 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.