mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-03-23 14:19:47 +01:00
fence fixes
This commit is contained in:
parent
a9404fbc91
commit
7728412282
@ -329,6 +329,8 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkResetFences(
|
||||
f->signaled = 0;
|
||||
f->seqno = 0;
|
||||
}
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -414,6 +416,11 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkWaitForFences(
|
||||
f->seqno = 0;
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
else
|
||||
{
|
||||
//already signaled
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
return VK_TIMEOUT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user