anv: add missing extension errors in vk_errorf()
authorEric Engestrom <eric.engestrom@imgtec.com>
Thu, 26 Jan 2017 13:48:18 +0000 (13:48 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 27 Jan 2017 17:23:32 +0000 (17:23 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_util.c

index 289d01ecb0c8871363f2643e004f00367f9a4c5d..6d751870654e4af492ce31dbf09f046a6306e83b 100644 (file)
@@ -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: