intel: Remove a gratuitous MI_FLUSH after clearing with a blit.
authorEric Anholt <eric@anholt.net>
Thu, 5 Mar 2009 16:25:22 +0000 (08:25 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 6 Mar 2009 03:42:16 +0000 (19:42 -0800)
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

index 208f90c..2d680b2 100644 (file)
@@ -562,7 +562,6 @@ intelClearWithBlit(GLcontext *ctx, GLbitfield mask)
             }
          }
       }
-      intel_batchbuffer_emit_mi_flush(intel->batch);
    }
 
    UNLOCK_HARDWARE(intel);