From dcdc062dda62212d09f522e07530ed79871ba481 Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Thu, 6 Oct 2011 09:04:41 +0400 Subject: [PATCH] r600g: fix op3 & write in merge_inst_groups --- src/gallium/drivers/r600/r600_asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index add1276e5dc..72c11dc44eb 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -1045,7 +1045,7 @@ static int merge_inst_groups(struct r600_bytecode *bc, struct r600_bytecode_alu continue; for (j = 0; j < max_slots; ++j) { - if (!prev[j] || !prev[j]->dst.write) + if (!prev[j] || !(prev[j]->dst.write || prev[j]->is_op3)) continue; /* If it's relative then we can't determin which gpr is really used. */ -- 2.30.2