zink: ignore unacquired swapchain images during end-of-frame flush
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 18 Oct 2023 12:15:18 +0000 (08:15 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 18 Oct 2023 13:51:57 +0000 (13:51 +0000)
commit084e22cfd8d79afb12b806fa0539c8f2b07f4a16
tree53d86678c68ff13f5fa890e6b89f90044dd09580
parent6cfb40a33850b9ea7bd74921f945a50b2831b678
zink: ignore unacquired swapchain images during end-of-frame flush

> Use of a presentable image must: occur only after the image is returned by flink:vkAcquireNextImageKHR, and before it is released by flink:vkQueuePresentKHR.
> This includes transitioning the image layout and rendering commands.

fixes #10005

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25787>
src/gallium/drivers/zink/zink_context.c