anv: Translate relative timeout to absolute when calling anv_timelines_wait
Fixes: 34f32a6d66
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5025>
This commit is contained in:

committed by
Marge Bot

parent
0b5288492b
commit
15dd7933bc
@@ -2338,7 +2338,7 @@ VkResult anv_WaitSemaphores(
|
|||||||
if (handle_count > 0) {
|
if (handle_count > 0) {
|
||||||
result = anv_timelines_wait(device, timelines, values, handle_count,
|
result = anv_timelines_wait(device, timelines, values, handle_count,
|
||||||
!(pWaitInfo->flags & VK_SEMAPHORE_WAIT_ANY_BIT_KHR),
|
!(pWaitInfo->flags & VK_SEMAPHORE_WAIT_ANY_BIT_KHR),
|
||||||
timeout);
|
anv_get_absolute_timeout(timeout));
|
||||||
}
|
}
|
||||||
|
|
||||||
vk_free(&device->vk.alloc, timelines);
|
vk_free(&device->vk.alloc, timelines);
|
||||||
|
Reference in New Issue
Block a user