blorp: Use R8G8_UINT for YCRCB_* formats with CCS
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Mon, 14 Aug 2023 18:50:18 +0000 (13:50 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 14 Aug 2023 23:44:19 +0000 (23:44 +0000)
commit0e33bb56a4e404f7fa4a58f359bab8d50ae8cfba
tree2d9d9dde77d92cac2fa61a61ba81a4fce7cfc504
parent3fff38f624e23ac593412fc911c11036cbf7503c
blorp: Use R8G8_UINT for YCRCB_* formats with CCS

BLORP uses the get_ccs_compatible_copy_format() based on whether or not
ISL claims the format supports CCS_E, not whether or not CCS_E is used
on the image.  This is probably a good thing as it improves consistency.
However, it means that we need CCS-compatible formats for YCRCB_*
formats even if we never use them with CCS_E enabled.  In practice,
these do actually seem to work according to the Vulkan CTS but coverage
is likely far less than perfect.

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24619>
src/intel/blorp/blorp_blit.c