diff options
author | Lionel Landwerlin <[email protected]> | 2017-01-26 11:25:44 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-01-27 17:23:32 +0000 |
commit | ba26c791573727acf802787a3c7b5e19504d946c (patch) | |
tree | 1cb98ac755ff39da6d4fbbfa07abe092cf0d861b /src/intel | |
parent | 4da0d1c59a6e42e56036827328b98d72d3f4a8e0 (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |