draw: fix input vs output typo in emit
authorKeith Whitwell <keith@tungstengraphics.com>
Sun, 25 May 2008 10:20:38 +0000 (11:20 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Sun, 25 May 2008 10:20:38 +0000 (11:20 +0100)
src/gallium/auxiliary/draw/draw_vs_aos_io.c

index 0dda9df97d6874839111c9d0c1b344018b87b0a5..f39ebb7a176259c500a5c069ffc512379b950145 100644 (file)
@@ -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;