Aug. 18, 2026
10:05 a.m.
This was found by Stian Low in !10567. Backbuffers are special: They can have a view of a different format even though they are typed. In particular, they can be RGB and have sRGB views or vice versa. Like typeless textures we can still clear them to vec4(0.0/0.0/0.0/0.0) as 0 is interpreted the same way in RGB and sRGB. I did not run the full d3d testsuite locally as I am on an Nvidia GPU at the moment. Lets see what gitlab's bot finds -- v3: d3d10/tests: Synchronize test_swapchain_views with d3d11. d3d11/tests: Test delayed clear RGB/sRGB mismatch. https://gitlab.winehq.org/wine/wine/-/merge_requests/11690