iris: Remove the CCS_D fallback
[mesa.git] / src / gallium / drivers / iris / iris_resolve.c
index 0350e58a22526863498e1f57068b2e1aa14085d7..0d647630f5d91b8c96bf947785b028466ca23c05 100644 (file)
@@ -1019,8 +1019,7 @@ iris_resource_render_aux_usage(struct iris_context *ice,
           format_ccs_e_compat_with_resource(devinfo, res, render_format))
          return ISL_AUX_USAGE_CCS_E;
 
-      /* Otherwise, we try to fall back to CCS_D */
-      if (isl_format_supports_ccs_d(devinfo, render_format))
+      if (res->aux.usage == ISL_AUX_USAGE_CCS_D)
          return ISL_AUX_USAGE_CCS_D;
 
    default: