mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
intel/isl: Allow CCS_E on 1010102 formats
On CNL and above, CCS_E supports 1010102 formats and R11G11B10F. We had shut them off during early enabling because blorp_copy couldn't handle them. Now it can handle 1010102 formats so we can turn them back on. Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
ccb44b8a94
commit
561348caa1
1 changed files with 0 additions and 11 deletions
|
|
@ -558,17 +558,6 @@ isl_format_supports_ccs_e(const struct gen_device_info *devinfo,
|
|||
if (format == ISL_FORMAT_R11G11B10_FLOAT)
|
||||
return false;
|
||||
|
||||
/* blorp_copy currently doesn't support formats with different bit-widths
|
||||
* per-channel. Until that support is added, report that these formats don't
|
||||
* support CCS_E. FIXME: Add support for these formats.
|
||||
*/
|
||||
if (format == ISL_FORMAT_B10G10R10A2_UNORM ||
|
||||
format == ISL_FORMAT_B10G10R10A2_UNORM_SRGB ||
|
||||
format == ISL_FORMAT_R10G10B10A2_UNORM ||
|
||||
format == ISL_FORMAT_R10G10B10A2_UINT) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return format_gen(devinfo) >= format_info[format].ccs_e;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue