radv: use new error codes for AllocateDescriptorSets
authorAndres Rodriguez <andresx7@gmail.com>
Fri, 27 Jan 2017 05:03:04 +0000 (00:03 -0500)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 30 Jan 2017 07:42:17 +0000 (08:42 +0100)
commitf8d5e1ab2dcb7d6d96c47cff7bd174e8e98bbdd5
tree956fd915c5ac16d882249285a5b420d0b254901b
parente199a993b2eb13319691b690af8f52bf8a0016b8
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>
src/amd/vulkan/radv_descriptor_set.c