zink: handle deferred swapchain resource flushing
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 6 Apr 2022 20:49:03 +0000 (16:49 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 7 Apr 2022 19:22:14 +0000 (19:22 +0000)
commit127d7aeb6c2fe543d348c72a3c9e9414ed6fa402
treef28dc08d3ab217ee91e4390924a2cb6a71c81674
parent3c4be122cc4996765f6c37c7c792b409340eb13a
zink: handle deferred swapchain resource flushing

if the swapchain image hasn't been acquired yet, flag it as a deferred
present so it can be picked up on flush

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