From: Stephane Marchesin Date: Tue, 2 Aug 2011 01:31:21 +0000 (+0200) Subject: i915g: Remove heuristic flushing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=019c6ccbb4cb2d9fa132e16b4c167f02a3940b55;p=mesa.git i915g: Remove heuristic flushing. --- diff --git a/src/gallium/drivers/i915/i915_prim_emit.c b/src/gallium/drivers/i915/i915_prim_emit.c index 1acde97d4bd..85656cd7846 100644 --- a/src/gallium/drivers/i915/i915_prim_emit.c +++ b/src/gallium/drivers/i915/i915_prim_emit.c @@ -166,8 +166,6 @@ emit_prim( struct draw_stage *stage, for (i = 0; i < nr; i++) emit_hw_vertex(i915, prim->v[i]); - - i915_flush_heuristically(i915, nr); } diff --git a/src/gallium/drivers/i915/i915_prim_vbuf.c b/src/gallium/drivers/i915/i915_prim_vbuf.c index d8ae1de2963..79db3b650eb 100644 --- a/src/gallium/drivers/i915/i915_prim_vbuf.c +++ b/src/gallium/drivers/i915/i915_prim_vbuf.c @@ -487,7 +487,6 @@ draw_arrays_fallback(struct vbuf_render *render, draw_arrays_generate_indices(render, start, nr, i915_render->fallback); - i915_flush_heuristically(i915, nr_indices); out: return; } @@ -535,7 +534,6 @@ i915_vbuf_render_draw_arrays(struct vbuf_render *render, nr); OUT_BATCH(start); /* Beginning vertex index */ - i915_flush_heuristically(i915, nr); out: return; } @@ -659,7 +657,6 @@ i915_vbuf_render_draw_elements(struct vbuf_render *render, save_nr_indices, i915_render->fallback); - i915_flush_heuristically(i915, nr_indices); out: return; }