radv: fix the error code when allocating a fresh imported syncobj fails
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Jul 2020 21:15:55 +0000 (23:15 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Jul 2020 21:04:37 +0000 (21:04 +0000)
commit3b7cd734e8a11a9af0cbc4c2445c7103044fc4a0
tree78ce8f50a7192db92824cbf92b8087bbae285c74
parentdd795ee1df4f5710f8a5ebf3a0cb527cd57fdf44
radv: fix the error code when allocating a fresh imported syncobj fails

It can only be an OOM error.

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