mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
vulkan/android: skip queue submit with copy_sync_payloads
Follows common wsi side for the same reason as explained in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36827 Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36855>
This commit is contained in:
parent
9ce92584ed
commit
d72d0e8580
1 changed files with 4 additions and 1 deletions
|
|
@ -427,7 +427,10 @@ vk_common_QueueSignalReleaseImageANDROID(VkQueue _queue,
|
|||
.semaphore = queue->anb_semaphore,
|
||||
.stageMask = VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT,
|
||||
};
|
||||
{
|
||||
if (device->copy_sync_payloads != NULL) {
|
||||
result = vk_device_copy_semaphore_payloads(
|
||||
device, waitSemaphoreCount, wait_infos, 1, &signal_info, 0, NULL);
|
||||
} else {
|
||||
const VkSubmitInfo2 submit_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO_2,
|
||||
.waitSemaphoreInfoCount = waitSemaphoreCount,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue