From 04ac0ec1483c98f85d23248d191458e77afc24a6 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 11 Jan 2023 13:40:34 -0500 Subject: [PATCH] wsi/x11: Support depth 16 visuals Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7846 Part-of: --- src/vulkan/wsi/wsi_common_x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index 4e45e8c431a..54ee193fd29 100644 --- a/src/vulkan/wsi/wsi_common_x11.c +++ b/src/vulkan/wsi/wsi_common_x11.c @@ -417,6 +417,7 @@ wsi_x11_get_connection(struct wsi_device *wsi_dev, } static const VkFormat formats[] = { + VK_FORMAT_R5G6B5_UNORM_PACK16, VK_FORMAT_B8G8R8A8_SRGB, VK_FORMAT_B8G8R8A8_UNORM, VK_FORMAT_A2R10G10B10_UNORM_PACK32,