anv/blorp: Drop some can_ycbcr checks
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 21 Jul 2021 22:52:58 +0000 (17:52 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Aug 2021 16:07:23 +0000 (16:07 +0000)
commit9a267be0394741764edc9d9a0d6c85db290ebb06
tree533303cb1b0e6f4fd44e7b94c38a8a5e87261d49
parentbf87b9ad81dbff34ab53d733bcfac9228ea4121c
anv/blorp: Drop some can_ycbcr checks

Vulkan allows us to, in theory, support ycbcr on single-plane formats if
the client really wants it.  Also, these functions should work on a
multi-plane color image as long as the client specifies the right
aspect.  This gets rid of our usage of can_ycbcr outside of anv_image.c.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12141>
src/intel/vulkan/anv_blorp.c