Mesa (master): nv50: fix typo in nv50_fragprog_assign_slots

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Tue Apr 24 18:05:28 UTC 2012


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

Author: Christoph Bumiller <e0425955 at 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 */




More information about the mesa-commit mailing list