From ccb44b8a94654fc827eda784653e607062de3ca1 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 26 Jan 2018 11:42:35 -0800 Subject: [PATCH] intel/blorp: Allow CCS copies of 1010102 formats Reviewed-by: Topi Pohjolainen --- src/intel/blorp/blorp_blit.c | 6 ++++++ 1 file changed, 6 insertions(+) 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"); } -- 2.30.2