From: Kristian Høgsberg Date: Wed, 20 May 2015 21:36:11 +0000 (-0700) Subject: vk: Mark VK_FORMAT_UNDEFINED as 1 cpp, 1 channel X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=387a1bb58f650526746a959850c4b10a7e650106;p=mesa.git vk: Mark VK_FORMAT_UNDEFINED as 1 cpp, 1 channel --- diff --git a/src/vulkan/formats.c b/src/vulkan/formats.c index dfcbe9ab906..c1cdc977ac4 100644 --- a/src/vulkan/formats.c +++ b/src/vulkan/formats.c @@ -26,7 +26,7 @@ #define UNSUPPORTED ~0U static const struct anv_format anv_formats[] = { - [VK_FORMAT_UNDEFINED] = { .format = RAW }, + [VK_FORMAT_UNDEFINED] = { .format = RAW, .cpp = 1, .channels = 1 }, [VK_FORMAT_R4G4_UNORM] = { .format = UNSUPPORTED }, [VK_FORMAT_R4G4_USCALED] = { .format = UNSUPPORTED }, [VK_FORMAT_R4G4B4A4_UNORM] = { .format = UNSUPPORTED },