From: Keith Whitwell Date: Sun, 25 May 2008 10:20:38 +0000 (+0100) Subject: draw: fix input vs output typo in emit X-Git-Tag: 062012170305~17580^2~390^2~1477^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6fca8acb5e8ce0e5e6ce91a524e2bb4c180d3ac;p=profile%2Fivi%2Fmesa.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 0dda9df..f39ebb7 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;