Revert "lvp/fence: quick fix to previous commit."

This reverts commit 028591954a.

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

Fixes: 028591954a ("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>
This commit is contained in:
Dave Airlie 2021-10-07 05:39:05 +10:00 committed by Marge Bot
parent b996fa8efa
commit b1f15b4f4d

View 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;