From: Bas Nieuwenhuizen Date: Mon, 6 Jul 2020 23:51:50 +0000 (+0200) Subject: radv: Use correct semaphore handle type for Android import. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffb8020f6e7ae3fb89d5b5ab17ff6fbdc6798ac4;p=mesa.git radv: Use correct semaphore handle type for Android import. Coincidentally got a bugreport of a game that is broken without the import fix below, but it turns out I made a copy-paste error as well .. In good news it is clearly tested now. Fixes: ad151499583 "radv: Set handle types in Android semaphore/fence import." Reviewed-by: Samuel Pitoiset Part-of: --- diff --git a/src/amd/vulkan/radv_android.c b/src/amd/vulkan/radv_android.c index 82d4e220b74..6be0391b8d9 100644 --- a/src/amd/vulkan/radv_android.c +++ b/src/amd/vulkan/radv_android.c @@ -398,7 +398,7 @@ radv_AcquireImageANDROID( .flags = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT, .fd = semaphore_fd, .semaphore = semaphore, - .handleType = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT, + .handleType = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT, }); }