Mesa (main): vulkan/wsi: Fix a signal_semaphore_with_memory check

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 10 02:14:01 UTC 2022


Module: Mesa
Branch: main
Commit: e32892130fcc0003c71e7b4fca9da8c87a00cd92
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e32892130fcc0003c71e7b4fca9da8c87a00cd92

Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Thu May 19 19:23:48 2022 -0500

vulkan/wsi: Fix a signal_semaphore_with_memory check

Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4037>

---

 src/vulkan/wsi/wsi_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vulkan/wsi/wsi_common.c b/src/vulkan/wsi/wsi_common.c
index 6aeb146c98f..a97e2aa9f7f 100644
--- a/src/vulkan/wsi/wsi_common.c
+++ b/src/vulkan/wsi/wsi_common.c
@@ -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);



More information about the mesa-commit mailing list