wsi/x11: Support depth 16 visuals

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7846
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20673>
This commit is contained in:
Adam Jackson 2023-01-11 13:40:34 -05:00 committed by Marge Bot
parent 37a8b2d12e
commit 04ac0ec148

View file

@ -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,