radv: fix the error code when exporting a semaphore/fence fails
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Jul 2020 20:59:58 +0000 (22:59 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Jul 2020 21:04:37 +0000 (21:04 +0000)
commitdd795ee1df4f5710f8a5ebf3a0cb527cd57fdf44
tree1fe74ce8b71b573b21f55bb34db0e683f46c3568
parent8aa9d0acb8ce882686eedd7d9b2bf51b035f2614
radv: fix the error code when exporting a semaphore/fence fails

VK_ERROR_INVALID_EXTERNAL_HANDLE is not a valid Vulkan error code
for these functions and it's likely that too many objects are
created instead.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5921>
src/amd/vulkan/radv_device.c