From 29a0c8cd60b6e1fc9ad39e626852ce598fe4d2b4 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Tue, 24 Apr 2012 20:04:48 +0200 Subject: [PATCH] nv50: fix typo in nv50_fragprog_assign_slots --- src/gallium/drivers/nv50/nv50_program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.30.2