From 387a1bb58f650526746a959850c4b10a7e650106 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 20 May 2015 14:36:11 -0700 Subject: [PATCH] vk: Mark VK_FORMAT_UNDEFINED as 1 cpp, 1 channel --- src/vulkan/formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, -- 2.30.2