diff options
author | Jason Ekstrand <[email protected]> | 2018-01-26 11:42:35 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-05-09 11:16:33 -0700 |
commit | ccb44b8a94654fc827eda784653e607062de3ca1 (patch) | |
tree | ff7c3500fa23c89698b1bccbdff6cd7a46153436 /src | |
parent | 1978de66f7160b5af8eac8041dfa8c4e0ec3bb83 (diff) |
intel/blorp: Allow CCS copies of 1010102 formats
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/blorp/blorp_blit.c | 6 |
1 files changed, 6 insertions, 0 deletions
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"); } |