summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-04-24 20:04:48 +0200
committerChristoph Bumiller <[email protected]>2012-04-24 20:05:35 +0200
commit29a0c8cd60b6e1fc9ad39e626852ce598fe4d2b4 (patch)
tree7d6b458492543b9cde6d7db0d23800e07d8754b6 /src
parente9df9636b986b09ba37095d963b388571f528e1b (diff)
nv50: fix typo in nv50_fragprog_assign_slots
Diffstat (limited to 'src')
-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 */