From f0a6360e0547dd9863586a7b3bfc79609bd8d65b Mon Sep 17 00:00:00 2001 From: ZhengMing Date: Mon, 25 May 2026 15:00:42 +0800 Subject: [PATCH] vulkan/wsi/win32: Prefer the more popular surface format on Windows Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15148 Signed-off-by: ZhengMing Part-of: --- src/vulkan/wsi/wsi_common_win32.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vulkan/wsi/wsi_common_win32.cpp b/src/vulkan/wsi/wsi_common_win32.cpp index e2ff1408233..34dca8a4bfd 100644 --- a/src/vulkan/wsi/wsi_common_win32.cpp +++ b/src/vulkan/wsi/wsi_common_win32.cpp @@ -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 }, };