Mesa (master): r600g: include INTERP_[XY|ZW] in is_alu_vec_unit_inst
Alex Deucher
agd5f at kemper.freedesktop.org
Sun Nov 13 22:23:48 UTC 2011
Module: Mesa
Branch: master
Commit: 88a140cd199d585d15ce9b0b3ca27815bedf0d63
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=88a140cd199d585d15ce9b0b3ca27815bedf0d63
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date: Sun Nov 13 13:55:52 2011 +0400
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 <vadimgirlin at gmail.com>
---
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 */
More information about the mesa-commit
mailing list