zink: track compatible render passes
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 17 Jun 2021 19:51:27 +0000 (15:51 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 1 Sep 2021 03:28:11 +0000 (03:28 +0000)
commit8dac288c8d826c54b0dad08b66971ef5ff6a94ac
tree30a3d040f887459d8a4523633f19c53aff05458c
parentd7e36a1831b1924837f9393723310885f579d68e
zink: track compatible render passes

Two render passes are compatible if their corresponding color, input, resolve, and depth/stencil
attachment references are compatible and if they are otherwise identical except for:
• Initial and final image layout in attachment descriptions
• Load and store operations in attachment descriptions
• Image layout in attachment references

VK 8.2

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12605>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_context.h
src/gallium/drivers/zink/zink_render_pass.c
src/gallium/drivers/zink/zink_render_pass.h