Mesa (master): draw: remove unused 'so' variable in draw_pt_so_emit()

Brian Paul brianp at kemper.freedesktop.org
Tue Jan 10 11:40:23 PST 2012


Module: Mesa
Branch: master
Commit: 8597c986d739212024bcb663470b929095230a12
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8597c986d739212024bcb663470b929095230a12

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 10 12:40:10 2012 -0700

draw: remove unused 'so' variable in draw_pt_so_emit()

---

 src/gallium/auxiliary/draw/draw_pt_so_emit.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
index d4182a8..466f46a 100644
--- a/src/gallium/auxiliary/draw/draw_pt_so_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
@@ -259,13 +259,11 @@ void draw_pt_so_emit( struct pt_so_emit *emit,
 {
    struct draw_context *draw = emit->draw;
    struct vbuf_render *render = draw->render;
-   struct pipe_stream_output_info *so;
    unsigned start, i;
 
    if (!emit->has_so)
       return;
 
-   so = &draw->vs.vertex_shader->state.stream_output;
    emit->emitted_vertices = 0;
    emit->emitted_primitives = 0;
    emit->generated_primitives = 0;



More information about the mesa-commit mailing list