radv: Use host memory pool for non-freeable descriptors.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 17 Apr 2017 00:14:06 +0000 (02:14 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Apr 2017 18:37:57 +0000 (20:37 +0200)
commit126d5adb11e18a329e197db8f117b47bba30eeed
tree4ed2349891bc078d8db6604b931da7a57d14b4c1
parent39644fa40a328811feac2821b267f209274dc911
radv: Use host memory pool for non-freeable descriptors.

v2: Handle out of pool memory error.
v3: Actually use VK_ERROR_OUT_OF_POOL_MEMORY_KHR for the error condition.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Bas Nieuwenhuizen <basni@google.com>
src/amd/vulkan/radv_descriptor_set.c
src/amd/vulkan/radv_private.h