From 88a140cd199d585d15ce9b0b3ca27815bedf0d63 Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Sun, 13 Nov 2011 13:55:52 +0400 Subject: [PATCH] r600g: include INTERP_[XY|ZW] in is_alu_vec_unit_inst This will disallow moving them to the trans slot in merge_inst_groups Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_asm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index c4cc92202ce..75dfdb45f20 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -443,7 +443,9 @@ static int is_alu_vec_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_a is_alu_mova_inst(bc, alu) || (bc->chip_class == EVERGREEN && (alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT || - alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR)); + alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR || + alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INTERP_XY || + alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INTERP_ZW)); } /* alu instructions that can only execute on the trans unit */ -- 2.30.2