summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 71254e82cdc..1b2e2934b79 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -170,7 +170,7 @@ nv50_fragprog_assign_slots(struct nv50_ir_prog_info *info)
prog->in[i].hw = nintp;
for (c = 0; c < 4; ++c)
- if (info->in[i].mask & (1 << c))
+ if (prog->in[i].mask & (1 << c))
info->in[j].slot[c] = nintp++;
}
/* (n == m) if m never increased, i.e. no flat inputs */