r600g: include INTERP_[XY|ZW] in is_alu_vec_unit_inst
authorVadim Girlin <vadimgirlin@gmail.com>
Sun, 13 Nov 2011 09:55:52 +0000 (13:55 +0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 13 Nov 2011 22:09:59 +0000 (17:09 -0500)
This will disallow moving them to the trans slot in merge_inst_groups

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/r600_asm.c

index c4cc922..75dfdb4 100644 (file)
@@ -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 */