mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
anv: Translate relative timeout to absolute when calling anv_timelines_wait
Fixes:34f32a6d66Signed-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> (cherry picked from commit15dd7933bc)
This commit is contained in:
parent
906c933e12
commit
493eaebc99
2 changed files with 2 additions and 2 deletions
|
|
@ -2830,7 +2830,7 @@
|
|||
"description": "anv: Translate relative timeout to absolute when calling anv_timelines_wait",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "34f32a6d6648073e2fda3fb78377124fb32bb288"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2330,7 +2330,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->alloc, timelines);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue