Mesa (master): intel: Remove a gratuitous MI_FLUSH after clearing with a blit.

Eric Anholt anholt at kemper.freedesktop.org
Fri Mar 6 07:44:11 UTC 2009


Module: Mesa
Branch: master
Commit: f085147258713741895945dcb81fdb251bb6c9cc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f085147258713741895945dcb81fdb251bb6c9cc

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Mar  5 08:25:22 2009 -0800

intel: Remove a gratuitous MI_FLUSH after clearing with a blit.

The 3D destination shares the same cache so we don't have any trouble with
the later commands needing the writes flushed inside of the same batchbuffer.

---

 src/mesa/drivers/dri/intel/intel_blit.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_blit.c b/src/mesa/drivers/dri/intel/intel_blit.c
index 208f90c..2d680b2 100644
--- a/src/mesa/drivers/dri/intel/intel_blit.c
+++ b/src/mesa/drivers/dri/intel/intel_blit.c
@@ -562,7 +562,6 @@ intelClearWithBlit(GLcontext *ctx, GLbitfield mask)
             }
          }
       }
-      intel_batchbuffer_emit_mi_flush(intel->batch);
    }
 
    UNLOCK_HARDWARE(intel);




More information about the mesa-commit mailing list