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:
Yiwei Zhang 2025-08-19 20:09:54 +00:00 committed by Marge Bot
parent 9ce92584ed
commit d72d0e8580

View file

@ -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,