diff options
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_so_emit.c | 4 | ||||
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vbuf.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c index a6d1da4eb2e..7cef17c7cf9 100644 --- a/src/gallium/auxiliary/draw/draw_pt_so_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_so_emit.c @@ -48,7 +48,6 @@ struct pt_so_emit { boolean use_pre_clip_pos; int pos_idx; unsigned emitted_primitives; - unsigned emitted_vertices; unsigned generated_primitives; }; @@ -214,7 +213,6 @@ static void so_emit_prim(struct pt_so_emit *so, } } } - so->emitted_vertices += num_vertices; ++so->emitted_primitives; } @@ -274,7 +272,6 @@ void draw_pt_so_emit( struct pt_so_emit *emit, if (!draw->so.num_targets) return; - emit->emitted_vertices = 0; emit->emitted_primitives = 0; emit->generated_primitives = 0; emit->input_vertex_stride = input_verts->stride; @@ -302,7 +299,6 @@ void draw_pt_so_emit( struct pt_so_emit *emit, render->set_stream_output_info(render, emit->emitted_primitives, - emit->emitted_vertices, emit->generated_primitives); } diff --git a/src/gallium/auxiliary/draw/draw_vbuf.h b/src/gallium/auxiliary/draw/draw_vbuf.h index bf1c73cad5f..2df0c0ead4c 100644 --- a/src/gallium/auxiliary/draw/draw_vbuf.h +++ b/src/gallium/auxiliary/draw/draw_vbuf.h @@ -125,7 +125,6 @@ struct vbuf_render { */ void (*set_stream_output_info)( struct vbuf_render *vbufr, unsigned primitive_count, - unsigned vertices_count, unsigned primitive_generated ); /** |