Revert "lvp/fence: quick fix to previous commit."
authorDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2021 19:39:05 +0000 (05:39 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 Oct 2021 20:52:09 +0000 (20:52 +0000)
This reverts commit 028591954a2d7e1c3cf8ecec04f1555564dd8076.

This wasn't the correct fix, that is coming up.

Fixes: 028591954a2d7 ("lvp/fence: quick fix to previous commit.")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13218>

src/gallium/frontends/lavapipe/lvp_device.c

index aec863d..fe1f7db 100644 (file)
@@ -2198,7 +2198,7 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_WaitForFences(
          struct lvp_fence *f = lvp_fence_from_handle(pFences[i]);
 
          /* this is an unsubmitted fence: immediately bail out */
-         if (!f->timeline && !f->signalled && !f->handle)
+         if (!f->timeline && !f->signalled)
             return VK_TIMEOUT;
          if (!fence || f->timeline > fence->timeline)
             fence = f;