zink: improve no-op acquire detection
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 21 Jun 2022 15:22:41 +0000 (11:22 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 28 Jun 2022 02:42:02 +0000 (02:42 +0000)
commit8606e5cff8f28e10eef8aa9a5916777eaf7891f9
treefeb6794e3b40f26b849c4a2e91ff07af9ea4fb80
parent49d9a3605bc5b7b69a4549b4b6c57620a621d75d
zink: improve no-op acquire detection

the swapchain may have successfully completed the acquire in a previous
batch, in which case a new acquire is not needed

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