summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_emit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_emit.c b/src/gallium/auxiliary/draw/draw_pt_emit.c
index ea02554f83c..4c96d7414ee 100644
--- a/src/gallium/auxiliary/draw/draw_pt_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_emit.c
@@ -253,12 +253,6 @@ draw_pt_emit_linear(struct pt_emit *emit,
i < prim_info->primitive_count;
start += prim_info->primitive_lengths[i], i++)
{
- if (draw->collect_statistics) {
- draw->statistics.c_invocations +=
- u_decomposed_prims_for_vertices(prim_info->prim,
- prim_info->primitive_lengths[i]);
- }
-
render->draw_arrays(render,
start,
prim_info->primitive_lengths[i]);