zink: only get swapchain present semaphore on batch flush if not presented
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 8 Apr 2022 13:51:57 +0000 (09:51 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Apr 2022 19:54:08 +0000 (19:54 +0000)
commitb3ee943050342a54a2009e9e91eab860c6e5cfd7
tree4021d269c90cb34f1efdf63a0716eeba9dbf50eb
parent21496dea9ccb7d8c4bd4b28684b6a78f124303d8
zink: only get swapchain present semaphore on batch flush if not presented

otherwise this has already been present-waited and can just be used whenever

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15820>
src/gallium/drivers/zink/zink_batch.c