From: Christian König Date: Tue, 21 Dec 2010 20:27:57 +0000 (+0100) Subject: r600g: fix bug created by 120a558624b46578412c945eb4b6005be020445c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=adf89a33296b60c746e813c3def030207cac9ec1;p=mesa.git r600g: fix bug created by 120a558624b46578412c945eb4b6005be020445c --- 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; }