From: Kenneth Graunke Date: Tue, 24 Jun 2014 23:34:49 +0000 (-0700) Subject: i965: Enable compressed multisample support (CMS) on Broadwell. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cf289c3ef2fcaded5a89f9d7a600f60a5e8356e;p=mesa.git i965: Enable compressed multisample support (CMS) on Broadwell. Everything is in place and appears to be working. Signed-off-by: Kenneth Graunke Reviewed-by: Jordan Justen --- diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index e4d67b97420..a45f1dd0404 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -68,14 +68,6 @@ compute_msaa_layout(struct brw_context *brw, mesa_format format, GLenum target) case GL_DEPTH_STENCIL: return INTEL_MSAA_LAYOUT_IMS; default: - /* Disable MCS on Broadwell for now. We can enable it once things - * are working without it. - */ - if (brw->gen >= 8) { - perf_debug("Missing CMS support on Broadwell.\n"); - return INTEL_MSAA_LAYOUT_UMS; - } - /* From the Ivy Bridge PRM, Vol4 Part1 p77 ("MCS Enable"): * * This field must be set to 0 for all SINT MSRTs when all RT channels