[Mesa-dev] [PATCH] anv: don't assert on out of memory descriptor pool in debug mode
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu Jan 26 11:27:00 UTC 2017
Fixes:
dEQP-VK.api.descriptor_pool.out_of_pool_memory
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
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 6408ac87c7..5fbc7cc113 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.11.0
More information about the mesa-dev
mailing list