From: Eric Engestrom Date: Thu, 26 Jan 2017 14:20:24 +0000 (+0000) Subject: radv: add missing extension errors in vk_errorf() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06842585df830a710ec59c2385bcef5badd8ecc6;p=mesa.git radv: add missing extension errors in vk_errorf() v2(Bas): Remove the extra VK_ERROR_FRAGMENTED_POOL cases. Signed-off-by: Eric Engestrom Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_util.c b/src/amd/vulkan/radv_util.c index 494bf7e76cb..684956e9a41 100644 --- a/src/amd/vulkan/radv_util.c +++ b/src/amd/vulkan/radv_util.c @@ -91,7 +91,13 @@ __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: assert(!"Unknown error");