[Mesa-dev] [PATCH 6/7] Revert "i965/gen9: Enable rep clears on gen9"

Ben Widawsky benjamin.widawsky at intel.com
Wed Nov 11 14:06:20 PST 2015


This reverts commit 8a0c85b25853decb4a110b6d36d79c4f095d437b.

It's not a strict revert because I don't want to bring back the gen < 9 check at
this point in time.

Reviewed-by: Neil Roberts <neil at linux.intel.com>
---
 src/mesa/drivers/dri/i965/brw_meta_fast_clear.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c b/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
index 97444d7..67dd22d 100644
--- a/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
@@ -535,11 +535,6 @@ brw_meta_fast_clear(struct brw_context *brw, struct gl_framebuffer *fb,
       if (irb->mt->fast_clear_state == INTEL_FAST_CLEAR_STATE_NO_MCS)
          clear_type = REP_CLEAR;
 
-      if (brw->gen >= 9 && clear_type == FAST_CLEAR) {
-         perf_debug("fast MCS clears are disabled on gen9");
-         clear_type = REP_CLEAR;
-      }
-
       /* We can't do scissored fast clears because of the restrictions on the
        * fast clear rectangle size.
        */
-- 
2.6.2



More information about the mesa-dev mailing list