aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2011-08-02 03:31:21 +0200
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2011-08-02 03:31:21 +0200
commit019c6ccbb4cb2d9fa132e16b4c167f02a3940b55 (patch)
tree9af6709923ed30012400fd0780b7acdfc1bc996d
parentc2426bbf862850504f24e7d9765e64a75b873f3b (diff)
i915g: Remove heuristic flushing.
-rw-r--r--src/gallium/drivers/i915/i915_prim_emit.c2
-rw-r--r--src/gallium/drivers/i915/i915_prim_vbuf.c3
2 files changed, 0 insertions, 5 deletions
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;
}