anv/x11: Only advertise VK_FORMAT_B8R8G8A8_UNORM
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Oct 2015 23:16:15 +0000 (16:16 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Oct 2015 23:16:17 +0000 (16:16 -0700)
The others don't work at the moment so we shouldn't be advertising them.

src/vulkan/anv_wsi_x11.c

index 3512238e245ea51ef15cdd1c54ea44d6af9495f7..38a5e15d1a67b347a8244b58776b6f4704a24c7a 100644 (file)
@@ -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[] = {