From: Jason Ekstrand Date: Fri, 26 Jan 2018 19:42:35 +0000 (-0800) Subject: intel/blorp: Allow CCS copies of 1010102 formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ccb44b8a94654fc827eda784653e607062de3ca1;p=mesa.git intel/blorp: Allow CCS copies of 1010102 formats Reviewed-by: Topi Pohjolainen --- diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index 321b3e3172d..e825862d71a 100644 --- a/src/intel/blorp/blorp_blit.c +++ b/src/intel/blorp/blorp_blit.c @@ -2416,6 +2416,12 @@ get_ccs_compatible_uint_format(const struct isl_format_layout *fmtl) case ISL_FORMAT_R32_SNORM: return ISL_FORMAT_R32_UINT; + case ISL_FORMAT_B10G10R10A2_UNORM: + case ISL_FORMAT_B10G10R10A2_UNORM_SRGB: + case ISL_FORMAT_R10G10B10A2_UNORM: + case ISL_FORMAT_R10G10B10A2_UINT: + return ISL_FORMAT_R10G10B10A2_UINT; + default: unreachable("Not a compressible format"); }