diff options
author | Bas Nieuwenhuizen <[email protected]> | 2020-07-05 19:57:29 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-06 13:40:49 +0000 |
commit | ad151499583f1814280218bf2eae4eaf1e7090a4 (patch) | |
tree | 92cf9a7d761087b06ba4c30a39fd54e019338739 /src/amd/vulkan | |
parent | 7b21ce401f7e81deca5ab6a4353b1369d059bcee (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5759>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_android.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, }); } |