From: Eric Engestrom Date: Thu, 26 Jan 2017 13:48:18 +0000 (+0000) Subject: anv: add missing extension errors in vk_errorf() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ee2ae834865c38470a051c26c7b60e398c8b94e;p=mesa.git anv: add missing extension errors in vk_errorf() Signed-off-by: Eric Engestrom Reviewed-by: Lionel Landwerlin --- diff --git a/src/intel/vulkan/anv_util.c b/src/intel/vulkan/anv_util.c index 289d01ecb0c..6d751870654 100644 --- a/src/intel/vulkan/anv_util.c +++ b/src/intel/vulkan/anv_util.c @@ -89,7 +89,12 @@ __vk_errorf(VkResult error, const char *file, int line, const char *format, ...) ERROR_CASE(VK_ERROR_FRAGMENTED_POOL) /* Extension errors */ + ERROR_CASE(VK_ERROR_SURFACE_LOST_KHR) + ERROR_CASE(VK_ERROR_NATIVE_WINDOW_IN_USE_KHR) ERROR_CASE(VK_ERROR_OUT_OF_DATE_KHR) + ERROR_CASE(VK_ERROR_INCOMPATIBLE_DISPLAY_KHR) + ERROR_CASE(VK_ERROR_VALIDATION_FAILED_EXT) + ERROR_CASE(VK_ERROR_INVALID_SHADER_NV) ERROR_CASE(VK_ERROR_OUT_OF_POOL_MEMORY_KHR) default: