zink: track per-image swapchain layouts
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 11 Apr 2023 21:02:54 +0000 (17:02 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 12 Apr 2023 21:43:35 +0000 (21:43 +0000)
commit5db5218044b233ceb3aa00a7bd9543902007373c
treedbce1108124ba55c5b58e5fbb673889e96c6d550
parentba73a41a2b9f2b853baa6c627d4a4331633fed7a
zink: track per-image swapchain layouts

this is important for handing off the swapchain between resources
on makecurrent since a context that is made not-current will have its
swapchain resources destroyed while the swapchain persists

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22431>
src/gallium/drivers/zink/zink_kopper.h
src/gallium/drivers/zink/zink_synchronization.cpp