From: Jason Ekstrand Date: Thu, 15 Oct 2015 23:16:15 +0000 (-0700) Subject: anv/x11: Only advertise VK_FORMAT_B8R8G8A8_UNORM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3130851add25d8008d40ca332cfd3b2b4527c0f9;p=mesa.git anv/x11: Only advertise VK_FORMAT_B8R8G8A8_UNORM The others don't work at the moment so we shouldn't be advertising them. --- diff --git a/src/vulkan/anv_wsi_x11.c b/src/vulkan/anv_wsi_x11.c index 3512238e245..38a5e15d1a6 100644 --- a/src/vulkan/anv_wsi_x11.c +++ b/src/vulkan/anv_wsi_x11.c @@ -28,9 +28,7 @@ #include "anv_wsi.h" static const VkSurfaceFormatKHR formats[] = { - { .format = VK_FORMAT_B5G6R5_UNORM, }, { .format = VK_FORMAT_B8G8R8A8_UNORM, }, - { .format = VK_FORMAT_B8G8R8A8_SRGB, }, }; static const VkPresentModeKHR present_modes[] = {