zink: explicitly disable reordering after restricted swapchain readback blits
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 15 May 2023 11:26:01 +0000 (07:26 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 22 May 2023 23:26:45 +0000 (23:26 +0000)
commit3c010319bbb4113612828bdf569ac83ca94c8c3f
treee172d48e473626a4c7993abbc4ced2df06c8debe
parentab3914a17b8630b93badcb4f8b948c3bf2e898ee
zink: explicitly disable reordering after restricted swapchain readback blits

when needs_present_readback is set, reordering is disabled without hitting
the path that would normally disable promotion for the resource, so this
needs to be changed manually to avoid layout desync on the swapchain

cc: mesa-stable

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