From: Chad Versace Date: Wed, 27 May 2015 23:21:04 +0000 (-0700) Subject: vk/image: Assert that VkImageTiling is valid X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fab9011c4462d1665c088c5509a82181ce653b7e;p=mesa.git vk/image: Assert that VkImageTiling is valid --- 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; }