vulkan/wsi: Fix a signal_semaphore_with_memory check

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4037>
This commit is contained in:
Jason Ekstrand 2022-05-19 19:23:48 -05:00 committed by Marge Bot
parent a820dc4a8e
commit e32892130f

View file

@ -836,7 +836,7 @@ wsi_signal_semaphore_for_image(struct vk_device *device,
{
VK_FROM_HANDLE(vk_semaphore, semaphore, _semaphore);
if (!chain->wsi->signal_fence_with_memory)
if (!chain->wsi->signal_semaphore_with_memory)
return VK_SUCCESS;
vk_semaphore_reset_temporary(device, semaphore);