tu: Implement multiview clear/resolve interactions
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 2 Jul 2020 09:25:54 +0000 (11:25 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 20 Aug 2020 19:21:17 +0000 (19:21 +0000)
commit6c446fe650b80301a5c5d1ab74a0560b4183d7e9
tree45487b204098d0e0810cb6f9fd7f65ac1eaca5eb
parent99a87e5e0ec84c4680755c4ae8c48cc9104c8eb7
tu: Implement multiview clear/resolve interactions

Loads, stores, clears, and resolves now happen per-view. Since we only
support multiview with sysmem rendering, we only implement this for
sysmem clears and resolves.

There aren't any tests that mix multiview and MSAA, so no coverage of
the resolve path.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5720>
src/freedreno/vulkan/tu_clear_blit.c
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_private.h