From ba26c791573727acf802787a3c7b5e19504d946c Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 26 Jan 2017 11:25:44 +0000 Subject: [PATCH] anv: don't assert on out of memory descriptor pool in debug mode Fixes: dEQP-VK.api.descriptor_pool.out_of_pool_memory Signed-off-by: Lionel Landwerlin Reviewed-by: Eric Engestrom --- src/intel/vulkan/anv_util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/vulkan/anv_util.c b/src/intel/vulkan/anv_util.c index 6408ac87c7e..5fbc7cc113b 100644 --- a/src/intel/vulkan/anv_util.c +++ b/src/intel/vulkan/anv_util.c @@ -83,9 +83,11 @@ __vk_errorf(VkResult error, const char *file, int line, const char *format, ...) ERROR_CASE(VK_ERROR_LAYER_NOT_PRESENT) ERROR_CASE(VK_ERROR_EXTENSION_NOT_PRESENT) ERROR_CASE(VK_ERROR_INCOMPATIBLE_DRIVER) + ERROR_CASE(VK_ERROR_FRAGMENTED_POOL) /* Extension errors */ ERROR_CASE(VK_ERROR_OUT_OF_DATE_KHR) + ERROR_CASE(VK_ERROR_OUT_OF_POOL_MEMORY_KHR) default: assert(!"Unknown error"); -- 2.30.2