mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:15:51 +01:00
[PR #1035] tests: skip Wine's host comparisons where vkd3d answers differently #1070
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1070
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1035
Author: @YaBulochka
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/wine-host-comparisons📝 Commits (4)
8bb7c64tests: skip the host D3D12 comparisons under Winebe94dcdtests: skip the remaining host references under Wineddfcfddtests: report Wine's GameInput stub and CRT as skipsef9f2d3ci: retrigger after queue stall📊 Changes
6 files changed (+55 additions, -86 deletions)
View changed files
📝
runtime/CMakeLists.txt(+5 -1)📝
runtime/test/check_atexit.cmake(+18 -4)📝
runtime/test/d3d12_residency_test.cpp(+6 -78)📝
runtime/test/d3d12_sampler2_test.cpp(+2 -1)📝
runtime/test/device_proxy_test.cpp(+6 -0)📝
runtime/test/gameinput_host_test.cpp(+18 -2)📄 Description
Claimed in the coordination issue as: carried over from the closed original repository (branch
fix/wine-host-comparisons); no new claimDepends on: none. Overlaps #519 (
d3d12_indirect_dispatch_count,d3d12_residency) and #983 (gameinput_host_test); the parts those PRs already carry can be dropped from this one.What and why
Several runtime tests compare their answers with a host D3D12 device, which is Wine's vkd3d in a Wine prefix. vkd3d answers differently (it rejects the console device over its WARP stand-in, returns S_OK for invalid residency arguments, accepts an unknown
CreateSampler2flag) and the test then reports a layer bug where the host is the outlier. This branch makes those tests keep every check of the layer's own answers and skip the host reference under Wine:device_proxy_test: Wine's vkd3d rejectsD3D12XboxCreateDeviceover its WARP stand-in, so the test exits 77 with the HRESULT;d3d12_residency_testandd3d12_sampler2_test: the host edge-case answers are compared only off Wine;d3d12_indirect_dispatch_count_test: Wine'sd3dcompiler_47cannot compile the WARP reference shader (noInterlockedAddonRWByteAddressBuffer), so it reports a skip instead of a bare failure;gameinput_host_test: Wine'sGameInput.dllis a stub (E_NOTIMPL/E_FAIL), so the import binding is still checked and the stub's answers are not;run_tiny_atexit: the guest runs on Wine's CRT, which already deviates in the native runs and runs no handler or destructor through--run, so the script reports a skip (77, plusSKIP_REGULAR_EXPRESSIONfor CMake versions that cannot exit 77 from a-Pscript); on Windows any difference still fails.Windows behaviour is unchanged: every path is behind
hostwine::host_is_wine()or behind the Wine-only skip.Tested
Not built here (no Windows/Wine toolchain in this environment); the changes are guards and printouts, and
host_wine.his used exactly as the tests that already merged do. The suite that measured these skips on Proton 11.0 was 148 passed, 23 skipped, 0 failed, per the commit message; that run is the author's, not repeated in this environment.AI-assisted: yes.
Checklist
docs/design.md, with how it was confirmed. (Not applicable: no translator change.)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.