[Mesa-dev] [PATCH] r600g: include INTERP_[XY|ZW] in is_alu_vec_unit_inst

Vadim Girlin vadimgirlin at gmail.com
Sun Nov 13 01:55:52 PST 2011


This will disallow moving them to the trans slot in merge_inst_groups

Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
---

Tested on evergreen: no regressions, fixes ~20 tests.

 src/gallium/drivers/r600/r600_asm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index c4cc922..75dfdb4 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 */
-- 
1.7.7.1



More information about the mesa-dev mailing list