Module: Mesa Branch: master Commit: 15dd7933bc33bb13d146f9e0a1f79092e749f33b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=15dd7933bc33bb13d146f9e0a1f79092e749f33b
Author: Danylo Piliaiev <danylo.pilia...@globallogic.com> Date: Wed May 13 19:28:59 2020 +0300 anv: Translate relative timeout to absolute when calling anv_timelines_wait Fixes: 34f32a6d6648073e2fda3fb78377124fb32bb288 Signed-off-by: Danylo Piliaiev <danylo.pilia...@globallogic.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5025> --- src/intel/vulkan/anv_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_queue.c b/src/intel/vulkan/anv_queue.c index ebe3216dd02..0fdabf7aa00 100644 --- a/src/intel/vulkan/anv_queue.c +++ b/src/intel/vulkan/anv_queue.c @@ -2338,7 +2338,7 @@ VkResult anv_WaitSemaphores( if (handle_count > 0) { result = anv_timelines_wait(device, timelines, values, handle_count, !(pWaitInfo->flags & VK_SEMAPHORE_WAIT_ANY_BIT_KHR), - timeout); + anv_get_absolute_timeout(timeout)); } vk_free(&device->vk.alloc, timelines); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit