mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
lvp/fence: quick fix to previous commit.
This fixes last of xcb cts issues.
Fixes: 8a294b6f97 ("lavapipe: Fix vkWaitForFences for initially-signalled fences")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13212>
This commit is contained in:
parent
b9617bc621
commit
028591954a
1 changed files with 1 additions and 1 deletions
|
|
@ -2089,7 +2089,7 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_WaitForFences(
|
||||||
struct lvp_fence *f = lvp_fence_from_handle(pFences[i]);
|
struct lvp_fence *f = lvp_fence_from_handle(pFences[i]);
|
||||||
|
|
||||||
/* this is an unsubmitted fence: immediately bail out */
|
/* this is an unsubmitted fence: immediately bail out */
|
||||||
if (!f->timeline && !f->signalled)
|
if (!f->timeline && !f->signalled && !f->handle)
|
||||||
return VK_TIMEOUT;
|
return VK_TIMEOUT;
|
||||||
if (!fence || f->timeline > fence->timeline)
|
if (!fence || f->timeline > fence->timeline)
|
||||||
fence = f;
|
fence = f;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue