vulkan/wsi/win32: Prefer the more popular surface format on Windows
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15148
Signed-off-by: ZhengMing <zhengming@sanway.tech>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41777>
This commit is contained in:
ZhengMing 2026-05-25 15:00:42 +08:00 committed by Marge Bot
parent 14be25c5fa
commit f0a6360e05

View file

@ -304,8 +304,9 @@ wsi_win32_surface_get_capabilities2(VkIcdSurfaceBase *surface,
static const struct {
VkFormat format;
} available_surface_formats[] = {
{ VK_FORMAT_B8G8R8A8_SRGB },
{ VK_FORMAT_B8G8R8A8_UNORM },
{ VK_FORMAT_R8G8B8A8_UNORM },
{ VK_FORMAT_B8G8R8A8_SRGB },
};