From 3130851add25d8008d40ca332cfd3b2b4527c0f9 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 15 Oct 2015 16:16:15 -0700 Subject: [PATCH] anv/x11: Only advertise VK_FORMAT_B8R8G8A8_UNORM The others don't work at the moment so we shouldn't be advertising them. --- src/vulkan/anv_wsi_x11.c | 2 -- 1 file changed, 2 deletions(-) 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[] = { -- 2.30.2