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

Author: Eric Anholt <[email protected]>
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);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to