aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDanylo Piliaiev <[email protected]>2020-05-13 19:28:59 +0300
committerMarge Bot <[email protected]>2020-05-14 00:52:37 +0000
commit15dd7933bc33bb13d146f9e0a1f79092e749f33b (patch)
tree7c4aa91943d0706dfaecb8c5e1abf8fcb2fa5581 /src
parent0b5288492b90c9a5471152393df31691271f6a55 (diff)
anv: Translate relative timeout to absolute when calling anv_timelines_wait
Fixes: 34f32a6d6648073e2fda3fb78377124fb32bb288 Signed-off-by: Danylo Piliaiev <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5025>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_queue.c2
1 files changed, 1 insertions, 1 deletions
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);