zink: add and use a function for "safely" ending renderpasses
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 13 Mar 2023 12:19:33 +0000 (08:19 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 17 Mar 2023 14:37:59 +0000 (14:37 +0000)
commit5d94887f0885e66d112d287045d3efd6d46b4229
tree1edec824ebf51613511a4ae9fb713db35f04f368
parent64b9cf5760478865147267fc9f195597cf4c8105
zink: add and use a function for "safely" ending renderpasses

these are all points at which a renderpass should be split, so make sure
renderpass data isn't reset in any way here

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