radv: add missing extension errors in vk_errorf()

v2(Bas): Remove the extra VK_ERROR_FRAGMENTED_POOL cases.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Eric Engestrom 2017-01-26 14:20:24 +00:00 committed by Bas Nieuwenhuizen
parent 43cf967512
commit 06842585df

View File

@ -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");