r600g: make INTERP_LOAD_P0 vector-only
authorVadim Girlin <vadimgirlin@gmail.com>
Sat, 21 Jan 2012 00:48:12 +0000 (04:48 +0400)
committerDave Airlie <airlied@redhat.com>
Sat, 21 Jan 2012 11:07:22 +0000 (11:07 +0000)
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_asm.c

index b8d43c0d928297b326b80871a1e530884d66e837..107c864f2a5142e47428aa59e59dd612de600fa7 100644 (file)
@@ -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);
        }