zink: only apply swapchain behavior in flush_resource for swapchain images
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 6 Apr 2022 20:50:37 +0000 (16:50 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 7 Apr 2022 19:22:14 +0000 (19:22 +0000)
commited07721d090eb0c4dceb65fba36b0ae054519d3c
tree2d73f78af5a449a6ca3cb1f9c28946b5011bad8b
parent127d7aeb6c2fe543d348c72a3c9e9414ed6fa402
zink: only apply swapchain behavior in flush_resource for swapchain images

these could otherwise be pixmaps or dmabufs

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