Module: Mesa
Branch: master
Commit: 29a0c8cd60b6e1fc9ad39e626852ce598fe4d2b4
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=29a0c8cd60b6e1fc9ad39e626852ce598fe4d2b4

Author: Christoph Bumiller <e0425...@student.tuwien.ac.at>
Date:   Tue Apr 24 20:04:48 2012 +0200

nv50: fix typo in nv50_fragprog_assign_slots

---

 src/gallium/drivers/nv50/nv50_program.c |    2 +-
 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 71254e8..1b2e293 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 */

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to