zink: use better determination for handling swapchain acquire submits
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 20 Jun 2022 16:33:27 +0000 (12:33 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 28 Jun 2022 02:42:02 +0000 (02:42 +0000)
commit9625e99110c831df533a1cea00d57feee1ff3a44
tree9fef1c6b868e857d456ca17ee72d297fe439aec7
parent92228a6d283c763aa80b955d68420dec293bdd4b
zink: use better determination for handling swapchain acquire submits

if the swapchain has data, it has already passed through this function and
thus does not need to attempt to synchronize another swapchain acquire
for the same image

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17149>
src/gallium/drivers/zink/zink_kopper.c