intel/blorp: Change condition for CCS_E copy formats
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 8 May 2023 22:12:38 +0000 (15:12 -0700)
committerMarge Bot <emma+marge@anholt.net>
Mon, 22 May 2023 22:20:58 +0000 (22:20 +0000)
commitf11a02c183b65da2fa1f1d7f40c73ad9639898e1
tree63809d5c885f74394d988d0b4032e61bf13a9539
parent1ac1b170878561f9b219596c2ac61b50e339185d
intel/blorp: Change condition for CCS_E copy formats

In blorp_copy, instead of checking if the surface's aux-usage is CCS_E,
check if its format supports CCS_E.

ISL won't report that a surface supports CCS_E if its format doesn't, so
this should strictly widen the scope of surfaces included in this path.

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