From: Keith Whitwell Date: Sun, 25 May 2008 10:20:38 +0000 (+0100) Subject: draw: fix input vs output typo in emit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6fca8acb5e8ce0e5e6ce91a524e2bb4c180d3ac;p=mesa.git draw: fix input vs output typo in emit --- diff --git a/src/gallium/auxiliary/draw/draw_vs_aos_io.c b/src/gallium/auxiliary/draw/draw_vs_aos_io.c index 0dda9df97d6..f39ebb7a176 100644 --- a/src/gallium/auxiliary/draw/draw_vs_aos_io.c +++ b/src/gallium/auxiliary/draw/draw_vs_aos_io.c @@ -282,7 +282,7 @@ boolean aos_emit_outputs( struct aos_compilation *cp ) { unsigned i; - for (i = 0; i < cp->vaos->base.vs->info.num_inputs; i++) { + for (i = 0; i < cp->vaos->base.vs->info.num_outputs; i++) { unsigned format = cp->vaos->base.key.element[i].out.format; unsigned offset = cp->vaos->base.key.element[i].out.offset;