intel_region_release(&((*mt)->region));
intel_miptree_release(&(*mt)->stencil_mt);
intel_miptree_release(&(*mt)->hiz_mt);
+#ifndef I915
intel_miptree_release(&(*mt)->mcs_mt);
+#endif
intel_miptree_release(&(*mt)->singlesample_mt);
intel_resolve_map_clear(&(*mt)->hiz_map);
struct intel_mipmap_tree *mt,
GLuint num_samples)
{
- assert(mt->mcs_mt == NULL);
assert(intel->gen >= 7); /* MCS only used on Gen7+ */
+#ifdef I915
+ return false;
+#else
+ assert(mt->mcs_mt == NULL);
/* Choose the correct format for the MCS buffer. All that really matters
* is that we allocate the right buffer size, since we'll always be
intel_miptree_unmap_raw(intel, mt->mcs_mt);
return mt->mcs_mt;
+#endif
}
/**
*/
struct intel_mipmap_tree *stencil_mt;
+#ifndef I915
/**
* \brief MCS miptree for multisampled textures.
*
* (INTEL_MSAA_FORMAT_CMS).
*/
struct intel_mipmap_tree *mcs_mt;
+#endif
/* These are also refcounted:
*/