Searched refs:dest_shift (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | codegen.c | 33 static unsigned encode_swizzle(uint8_t *swizzle, int shift, int dest_shift) in encode_swizzle() argument 37 ret |= ((swizzle[i] + shift) & 0x3) << ((i + dest_shift) * 2); in encode_swizzle() 190 int dest_shift = 0; in ppir_codegen_encode_vec_mul() local 193 dest_shift = index & 0x3; in ppir_codegen_encode_vec_mul() 195 f->mask = dest->write_mask << dest_shift; in ppir_codegen_encode_vec_mul() 243 f->arg0_swizzle = encode_swizzle(src->swizzle, index & 0x3, dest_shift); in ppir_codegen_encode_vec_mul() 251 f->arg1_swizzle = encode_swizzle(src->swizzle, index & 0x3, dest_shift); in ppir_codegen_encode_vec_mul() 333 int dest_shift = index & 0x3; in ppir_codegen_encode_vec_add() local 335 f->mask = dest->write_mask << dest_shift; in ppir_codegen_encode_vec_add() 347 dest_shift = 0; in ppir_codegen_encode_vec_add() [all …]
|
/external/mesa3d/src/panfrost/midgard/ |
D | midgard_ra.c | 670 unsigned dest_shift = in install_registers_instr() local 683 struct phys_reg dest = index_to_reg(ctx, l, ins->dest, dest_shift); in install_registers_instr() 717 struct phys_reg dst = index_to_reg(ctx, l, ins->dest, dest_shift); in install_registers_instr() 745 struct phys_reg dest = index_to_reg(ctx, l, ins->dest, dest_shift); in install_registers_instr() 759 dest_shift == 1 ? dest.offset % 8 : in install_registers_instr()
|