anv: Split color_attachment_compute_aux_usage in two
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 25 Mar 2020 21:38:28 +0000 (16:38 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Apr 2020 22:45:39 +0000 (22:45 +0000)
commit30016f6e829a96782b13cfe2a31e8ff21f1dfa4a
treef164f4b7d6b9bd5b9ad71a7e85661980a556d612
parent3fe45a9b6cd956cf5215d9a382de4dde06eab1a8
anv: Split color_attachment_compute_aux_usage in two

In particular, we split out an anv_can_fast_clear_color_view helper
which only cares about fast-clear and not aux_usage itself.

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4393>
src/intel/vulkan/genX_cmd_buffer.c