mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-21 10:00:36 +01:00
radv: use new error codes for AllocateDescriptorSets
There is a new error code in Maintenance1 that is more specific to the situation: VK_ERROR_OUT_OF_POOL_MEMORY_KHR Fixes CTS test case: dEQP-VK.api.descriptor_pool.out_of_pool_memory Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
e199a993b2
commit
f8d5e1ab2d
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ radv_descriptor_set_create(struct radv_device *device,
|
|||
|
||||
if (entry < 0) {
|
||||
vk_free2(&device->alloc, NULL, set);
|
||||
return vk_error(VK_ERROR_OUT_OF_DEVICE_MEMORY);
|
||||
return vk_error(VK_ERROR_OUT_OF_POOL_MEMORY_KHR);
|
||||
}
|
||||
offset = pool->free_nodes[entry].offset;
|
||||
pool->free_nodes[entry].next = pool->full_list;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue