venus: set waitAll to true in vkr_queue_thread

To work around a Mali bug, which does not like waitAll to be false when
the fence is external.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Ryan Neph <ryanneph@google.com>
macos/master
Chia-I Wu 3 years ago
parent abb7df90c1
commit a96d650ed0
  1. 2
      src/venus/vkr_queue.c

@ -202,7 +202,7 @@ vkr_queue_thread(void *arg)
mtx_unlock(&queue->mutex);
VkResult result =
vkWaitForFences(dev->base.handle.device, 1, &sync->fence, false, ns_per_sec * 3);
vkWaitForFences(dev->base.handle.device, 1, &sync->fence, true, ns_per_sec * 3);
mtx_lock(&queue->mutex);

Loading…
Cancel
Save