summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-05-25 11:20:38 +0100
committerKeith Whitwell <[email protected]>2008-05-25 11:20:38 +0100
commita6fca8acb5e8ce0e5e6ce91a524e2bb4c180d3ac (patch)
tree78f94eced3089818bd007269ff666a4d53fd0ea6 /src
parent48a24f0ff7e3aad000b8acc55c16bbeaca58abe6 (diff)
draw: fix input vs output typo in emit
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_aos_io.c2
1 files changed, 1 insertions, 1 deletions
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;