radv: Set handle types in Android semaphore/fence import.
Seems like we forgot to set it all this time ...
Fixes: b1444c9ccb
"radv: Implement VK_ANDROID_native_buffer."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5759>
This commit is contained in:
parent
7b21ce401f
commit
ad15149958
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue