wsi/x11: Remove B8G8R8_UNORM
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 1 Feb 2016 13:58:37 +0000 (05:58 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 1 Feb 2016 14:00:50 +0000 (06:00 -0800)
We don't actually support that format yet because ISL doesn't have an enum
for it.  We need to beef up the formats table to allow for tiled-only
formats.

src/vulkan/anv_wsi_x11.c

index d5e5b88c17bf95b127bc0f7c1b90dec96ef1e6c1..c4a82706b009dacf7432f16472e90a74a3be8e25 100644 (file)
@@ -118,7 +118,6 @@ wsi_x11_get_connection(struct anv_instance *instance, xcb_connection_t *conn)
 
 static const VkSurfaceFormatKHR formats[] = {
    { .format = VK_FORMAT_B8G8R8A8_UNORM, },
-   { .format = VK_FORMAT_B8G8R8_UNORM, },
 };
 
 static const VkPresentModeKHR present_modes[] = {