diff options
author | Andres Rodriguez <[email protected]> | 2017-01-27 00:03:04 -0500 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-01-30 08:42:17 +0100 |
commit | f8d5e1ab2dcb7d6d96c47cff7bd174e8e98bbdd5 (patch) | |
tree | 956fd915c5ac16d882249285a5b420d0b254901b /src | |
parent | e199a993b2eb13319691b690af8f52bf8a0016b8 (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_descriptor_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_descriptor_set.c b/src/amd/vulkan/radv_descriptor_set.c index eb8b5d6e3a8..6d89d601de0 100644 --- a/src/amd/vulkan/radv_descriptor_set.c +++ b/src/amd/vulkan/radv_descriptor_set.c @@ -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; |