radv: add missing extension errors in vk_errorf()
authorEric Engestrom <eric.engestrom@imgtec.com>
Thu, 26 Jan 2017 14:20:24 +0000 (14:20 +0000)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 27 Jan 2017 16:33:05 +0000 (17:33 +0100)
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>
src/amd/vulkan/radv_util.c

index 494bf7e76cb1e94bb2e82fd576d38d4d485fd810..684956e9a416bf296377fdf47a9aa8c16922d269 100644 (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");