summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-01-26 14:20:24 +0000
committerBas Nieuwenhuizen <[email protected]>2017-01-27 17:33:05 +0100
commit06842585df830a710ec59c2385bcef5badd8ecc6 (patch)
tree4fb02432dcfb392783d4983a2f9b516e57309ea5 /src
parent43cf96751277f76d726a0829e7fa733f85e70061 (diff)
radv: add missing extension errors in vk_errorf()
v2(Bas): Remove the extra VK_ERROR_FRAGMENTED_POOL cases. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_util.c6
1 files changed, 6 insertions, 0 deletions
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");