Home | History | Annotate | Download | only in etnaviv

Lines Matching refs:DST

200 etna_get_dst_reg(struct etna_compile *c, struct tgsi_dst_register dst)
202 return &c->file[dst.File].reg[dst.Index];
582 struct etna_reg_desc *reg_desc = &c->file[inst->Dst[idx].Register.File].reg[inst->Dst[idx].Register.Index];
637 etna_mov_check_no_swizzle(const struct tgsi_dst_register dst,
640 return (!(dst.WriteMask & TGSI_WRITEMASK_X) || src.SwizzleX == TGSI_SWIZZLE_X) &&
641 (!(dst.WriteMask & TGSI_WRITEMASK_Y) || src.SwizzleY == TGSI_SWIZZLE_Y) &&
642 (!(dst.WriteMask & TGSI_WRITEMASK_Z) || src.SwizzleZ == TGSI_SWIZZLE_Z) &&
643 (!(dst.WriteMask & TGSI_WRITEMASK_W) || src.SwizzleW == TGSI_SWIZZLE_W);
677 if (inst->Dst[0].Register.File != TGSI_FILE_OUTPUT)
683 if (!etna_mov_check_no_swizzle(inst->Dst[0].Register, inst->Src[0].Register) ||
688 uint out_idx = inst->Dst[0].Register.Index;
841 .dst = etna_native_to_dst(inner_temp, INST_COMPS_X | INST_COMPS_Y |
959 mov.dst = etna_native_to_dst(temp, INST_COMPS_X | INST_COMPS_Y |
1058 instr.dst = convert_dst(c, &inst->Dst[0]);
1081 .dst = convert_dst(c, &inst->Dst[0]),
1242 .dst = convert_dst(c, &inst->Dst[0]),
1254 struct etna_inst_dst dst;
1256 dst = etna_native_to_dst(temp, INST_COMPS_X | INST_COMPS_Y | INST_COMPS_Z |
1264 floor.dst = dst;
1272 floor[0].dst = dst;
1277 floor[1].dst = dst;
1291 arl.dst = convert_dst(c, &inst->Dst[0]);
1301 /* dst = src0 * src1 + (1 - src0) * src2
1316 mad[0].dst = etna_native_to_dst(temp, INST_COMPS_X | INST_COMPS_Y |
1323 mad[1].dst = convert_dst(c, &inst->Dst[0]), mad[1].src[0] = src[0];
1342 * LITP dst, undef, src.xxxx, tmp.xxxx
1353 ins.dst = etna_native_to_dst(inner_temp, INST_COMPS_Y);
1370 ins.dst = etna_native_to_dst(inner_temp, INST_COMPS_W);
1388 ins[0].dst = etna_native_to_dst(inner_temp, INST_COMPS_X);
1395 .dst = etna_native_to_dst(inner_temp, INST_COMPS_X),
1402 .dst = convert_dst(c, &inst->Dst[0]),
1417 .dst = convert_dst(c, &inst->Dst[0]),
1426 ins[0].dst = etna_native_to_dst(temp, INST_COMPS_X | INST_COMPS_Y |
1433 ins[1].dst = convert_dst(c, &inst->Dst[0]);
1461 .dst = etna_native_to_dst(temp, INST_COMPS_Z),
1470 .dst = etna_native_to_dst(temp, INST_COMPS_X | INST_COMPS_Y),
1477 .dst = convert_dst(c, &inst->Dst[0]),
1488 * fails with src==dst for the trig instruction. */
1492 .dst = etna_native_to_dst(temp, INST_COMPS_X | INST_COMPS_Y |
1502 .dst = convert_dst(c, &inst->Dst[0]),
1519 * MAD dst, t.ywyw, .2225, t.xzxz
1521 * TODO: we don't set dst.zw correctly for SCS.
1536 ins.dst = etna_native_to_dst(t0, INST_COMPS_X);
1543 ins[0].dst = etna_native_to_dst(t0, INST_COMPS_X | INST_COMPS_Z | INST_COMPS_W);
1549 ins[1].dst = etna_native_to_dst(t0, INST_COMPS_X | INST_COMPS_Z);
1553 ins[2].dst = etna_native_to_dst(t0, INST_COMPS_X | INST_COMPS_Z);
1568 ins[3].dst = etna_native_to_dst(t0, INST_COMPS_Y);
1573 ins[4].dst = etna_native_to_dst(t0, INST_COMPS_X | INST_COMPS_Z);
1580 ins[4].dst.comps = INST_COMPS_X;
1581 ins[6].dst.comps = INST_COMPS_Z;
1591 p->dst = etna_native_to_dst(t0, INST_COMPS_Y | INST_COMPS_W);
1599 p->dst = convert_dst(c, &inst->Dst[0]),
1615 ADD dst.xyzw, tmp.xyzw, void, src1.wwww
1621 ins[0].dst = etna_native_to_dst(temp, INST_COMPS_X | INST_COMPS_Y |
1628 ins[1].dst = convert_dst(c, &inst->Dst[0]);
1649 ins[0].dst = etna_native_to_dst(temp, INST_COMPS_X);
1654 ins[1].dst = etna_native_to_dst(temp, INST_COMPS_Y);
1669 .dst = convert_dst(c, &inst->Dst[0]),
1679 .dst = convert_dst(c, &inst->Dst[0]),
1689 .dst = convert_dst(c, &inst->Dst[0]),
1701 .dst = etna_native_to_dst(temp, INST_COMPS_W), /* tmp.w */
1707 .dst = etna_native_to_dst(temp, INST_COMPS_X | INST_COMPS_Y |
1715 .dst = convert_dst(c, &inst->Dst[0]),
1747 INSTR(DST, trans_instr, .opc = INST_OPCODE_DST, .src = {0, 1, -1}),
1893 .dst = etna_native_to_dst(pos_reg->native, INST_COMPS_Z),
1899 .dst = etna_native_to_dst(pos_reg->native, INST_COMPS_Z),