case ISL_FORMAT_R32_SNORM:
return ISL_FORMAT_R32_UINT;
+ case ISL_FORMAT_R11G11B10_FLOAT:
+ return ISL_FORMAT_R32_UINT;
+
case ISL_FORMAT_B10G10R10A2_UNORM:
case ISL_FORMAT_B10G10R10A2_UNORM_SRGB:
case ISL_FORMAT_R10G10B10A2_UNORM:
/* For simplicity, only report that a format supports CCS_E if blorp can
* perform bit-for-bit copies with an image of that format while compressed.
- * Unfortunately, R11G11B10_FLOAT is in a compression class of its own and
- * there is no way to copy to/from it which doesn't potentially loose data
- * if one of the bit patterns being copied isn't valid finite floats.
+ * Unfortunately, R11G11B10_FLOAT is in a compression class of its own, and
+ * on ICL, there is no way to copy to/from it which doesn't potentially
+ * loose data if one of the bit patterns being copied isn't valid finite
+ * floats.
*/
- if (format == ISL_FORMAT_R11G11B10_FLOAT)
+ if (devinfo->ver == 11 && format == ISL_FORMAT_R11G11B10_FLOAT)
return false;
return devinfo->verx10 >= format_info[format].ccs_e;