Mesa (master): r600g: make INTERP_LOAD_P0 vector-only

Dave Airlie airlied at kemper.freedesktop.org
Sat Jan 21 03:07:35 PST 2012


Module: Mesa
Branch: master
Commit: 8b1471f8ca2933a5a4f55be9d0a4db83bdee0435
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b1471f8ca2933a5a4f55be9d0a4db83bdee0435

Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Sat Jan 21 04:48:12 2012 +0400

r600g: make INTERP_LOAD_P0 vector-only

Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

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

diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index b8d43c0..107c864 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -478,6 +478,7 @@ static int is_alu_vec_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_a
 			is_alu_mova_inst(bc, alu) ||
 			(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_INTERP_LOAD_P0 ||
 			 alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INTERP_XY ||
 			 alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INTERP_ZW);
 	}



More information about the mesa-commit mailing list