mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
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:
parent
31148ee88e
commit
aa94220d7d
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue