anv: Stop printing descriptor pool allocation failures
The VK_ERROR_FRAGMENTED_POOL and VK_ERROR_OUT_OF_POOL_MEMORY errors are not as exceptional cases as most. These are expected to be hit by applications in the normal course of doing their thing. Probably best not to spam stderr and the debug logs with them. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13045>
This commit is contained in:

committed by
Marge Bot

parent
31148ee88e
commit
aa94220d7d
@@ -980,9 +980,9 @@ anv_descriptor_pool_alloc_set(struct anv_descriptor_pool *pool,
|
||||
}
|
||||
|
||||
if (pool->free_list != EMPTY) {
|
||||
return vk_error(VK_ERROR_FRAGMENTED_POOL);
|
||||
return VK_ERROR_FRAGMENTED_POOL;
|
||||
} else {
|
||||
return vk_error(VK_ERROR_OUT_OF_POOL_MEMORY);
|
||||
return VK_ERROR_OUT_OF_POOL_MEMORY;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user