mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 06:50:11 +01:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -398,6 +398,7 @@ radv_AcquireImageANDROID(
|
||||||
.flags = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT,
|
.flags = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT,
|
||||||
.fd = semaphore_fd,
|
.fd = semaphore_fd,
|
||||||
.semaphore = semaphore,
|
.semaphore = semaphore,
|
||||||
|
.handleType = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -409,6 +410,7 @@ radv_AcquireImageANDROID(
|
||||||
.flags = VK_FENCE_IMPORT_TEMPORARY_BIT,
|
.flags = VK_FENCE_IMPORT_TEMPORARY_BIT,
|
||||||
.fd = fence_fd,
|
.fd = fence_fd,
|
||||||
.fence = fence,
|
.fence = fence,
|
||||||
|
.handleType = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue