i915g: Remove heuristic flushing.
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>
Tue, 2 Aug 2011 01:31:21 +0000 (03:31 +0200)
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>
Tue, 2 Aug 2011 01:31:21 +0000 (03:31 +0200)
src/gallium/drivers/i915/i915_prim_emit.c
src/gallium/drivers/i915/i915_prim_vbuf.c

index 1acde97d4bdcb78e633ec4a312d29c5cd943f13c..85656cd784626ac0436ece27b20772c5bd03f038 100644 (file)
@@ -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);
 }
 
 
index d8ae1de29632d7c23da9230ddd04626dc52a6123..79db3b650ebebf600cad591bc8cc88b132feb84a 100644 (file)
@@ -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;
 }