Repository navigation
TEST-330: skip the GDI desktop colour check under Wine - #2189
Merged
Merged
Conversation
Contributor
|
Tested 9266c44 on an NVIDIA GeForce RTX 3050 Laptop GPU, driver 32.0.16.2101, Windows 11, native MSVC (VS 2022 Build Tools, Ninja, RelWithDebInfo), with
AI-assisted (Claude Code). |
towade
force-pushed
the
codex/test-330
branch
from
November 22, 2026 17:21
9266c44 to
6a2246c
Compare
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed as TEST-330 in the coordination issue.
What and why
Under Wine on rootless XWayland,
GetPixelcan return black even when presentation succeeds. Currentmainalready verifies the colour by reading back the presented swapchain images. Keep those checks on every platform and skip only the extra desktop GDI read under Wine. Native Windows retains its on-screen check when the window is foregrounded and the screen can be read.Tested
49475796. Windows 11 26H2 (26300.10075), Radeon RX 9070 XT (driver32.0.32029.2010), MSVC 19.44 Release, Windows SDK 10.0.26100.0:ctest -R '^d3d12_present$'passed with Vulkan validation and the swapchain colour check. The window was not foregrounded in this run, so the optional GDI check did not run.0,0,0instead of51,153,230) before the fix. The rebased commit passed with swapchain colour confirmed and the Wine GDI check skipped.AI-assisted (Codex). No game data. No shader translator rules changed.