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

Ben Widawsky benjamin.widawsky at intel.com
Tue Oct 13 20:50:24 PDT 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.
---
 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 9e6711e..97094ae 100644
--- a/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
@@ -537,11 +537,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.1



More information about the mesa-dev mailing list