Repository navigation
Tests: host comparisons take the driver's own answer under Wine - #2466
Conversation
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.
|
Fixes one of our four standing Wine-lane reds. Head merged on current main: The remaining three are the known baseline (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear from #2280 (report)). Same |
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(Tests: console descriptor heap slot/copy/unregister contract #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