Commit b0b1bf99 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Marge Bot
Browse files

anv: Fix wait_count missing increment



If we don't wait on anything, I bet it makes the QueuePresent faster,
but also completely wrong...
Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 02f94c33 ("anv: don't wait for completion of work on vkQueuePresent()")
Closes: mesa/mesa#4276

Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
Part-of: <mesa/mesa!9211>
parent 97ff5160
Pipeline #275070 waiting for manual action with stages
......@@ -330,6 +330,7 @@ VkResult anv_QueuePresentKHR(
assert(impl->type == ANV_SEMAPHORE_TYPE_DRM_SYNCOBJ);
syncobjs[wait_count] = impl->syncobj;
values[wait_count] = 0;
wait_count++;
}
int ret = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment