From: Christoph Bumiller Date: Tue, 24 Apr 2012 18:04:48 +0000 (+0200) Subject: nv50: fix typo in nv50_fragprog_assign_slots X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29a0c8cd60b6e1fc9ad39e626852ce598fe4d2b4;p=mesa.git nv50: fix typo in nv50_fragprog_assign_slots --- 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 */