r600g: fix bug created by 120a558624b46578412c945eb4b6005be020445c
authorChristian König <deathsimple@vodafone.de>
Tue, 21 Dec 2010 20:27:57 +0000 (21:27 +0100)
committerChristian König <deathsimple@vodafone.de>
Tue, 21 Dec 2010 20:27:57 +0000 (21:27 +0100)
src/gallium/drivers/r600/r600_asm.c

index 9dfd72b53d05c987f71d62c82536dd3eaccdb9d2..febf191a6c1a462d1df13fba228b6f5225fbabd6 100644 (file)
@@ -717,8 +717,8 @@ int r600_bc_add_alu_type(struct r600_bc *bc, const struct r600_bc_alu *alu, int
                /* check if we could add it anyway */
                if (bc->cf_last->inst == (V_SQ_CF_ALU_WORD1_SQ_CF_INST_ALU << 3) &&
                        type == V_SQ_CF_ALU_WORD1_SQ_CF_INST_ALU_PUSH_BEFORE) {
-                       LIST_FOR_EACH_ENTRY(alu, &bc->cf_last->alu, list) {
-                               if (alu->predicate) {
+                       LIST_FOR_EACH_ENTRY(lalu, &bc->cf_last->alu, list) {
+                               if (lalu->predicate) {
                                        bc->force_add_cf = 1;
                                        break;
                                }