From ad151499583f1814280218bf2eae4eaf1e7090a4 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sun, 5 Jul 2020 19:57:29 +0200 Subject: [PATCH] radv: Set handle types in Android semaphore/fence import. Seems like we forgot to set it all this time ... Fixes: b1444c9ccb0 "radv: Implement VK_ANDROID_native_buffer." Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_android.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_android.c b/src/amd/vulkan/radv_android.c index 78c0ab48ea7..82d4e220b74 100644 --- a/src/amd/vulkan/radv_android.c +++ b/src/amd/vulkan/radv_android.c @@ -398,6 +398,7 @@ radv_AcquireImageANDROID( .flags = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT, .fd = semaphore_fd, .semaphore = semaphore, + .handleType = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT, }); } @@ -409,6 +410,7 @@ radv_AcquireImageANDROID( .flags = VK_FENCE_IMPORT_TEMPORARY_BIT, .fd = fence_fd, .fence = fence, + .handleType = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT, }); } -- 2.30.2