From fab9011c4462d1665c088c5509a82181ce653b7e Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 27 May 2015 16:21:04 -0700 Subject: [PATCH] vk/image: Assert that VkImageTiling is valid --- src/vulkan/image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/image.c b/src/vulkan/image.c index 43556409ad1..42bb28f9823 100644 --- a/src/vulkan/image.c +++ b/src/vulkan/image.c @@ -79,6 +79,7 @@ VkResult anv_image_create( image->tile_mode = YMAJOR; break; default: + assert(!"bad VKImageTiling"); break; } -- 2.30.2