anv: Stop allowing non-zero clear colors in input attachments
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 25 Mar 2020 20:02:15 +0000 (15:02 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Apr 2020 22:45:39 +0000 (22:45 +0000)
commit36a74835dfa4e9ae8088d3cb12c3c81964585f12
tree7a42c05a6480ff54e3e8243c072f20c22976e6da
parentbf92e96d9c671a94e12f1ada0c7eca1f26a4d54b
anv: Stop allowing non-zero clear colors in input attachments

Previously, we bent over backwards to allow non-zero clear colors input
attachments whenever we could.  However, very few apps use input
attachments and very few use non-zero clear colors.  Getting rid of
support for non-zero clear colors input attachments will allow us to
treat them identically to textures which should help us simplify things
a good bit.

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