summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König <[email protected]>2010-12-21 21:27:57 +0100
committerChristian König <[email protected]>2010-12-21 21:27:57 +0100
commitadf89a33296b60c746e813c3def030207cac9ec1 (patch)
tree6c11e1d97f040cbd013e8b83266444afbf11d2ea
parentac5b174706da61c93cd083a4a913c2caa1d74298 (diff)
r600g: fix bug created by 120a558624b46578412c945eb4b6005be020445c
-rw-r--r--src/gallium/drivers/r600/r600_asm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index 9dfd72b53d0..febf191a6c1 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -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;
}