Lines Matching refs:dst0

111    void emitTex(Value *dst0[4], TexInstruction *, const uint8_t swizzle[4]);
112 void handleLOAD(Value *dst0[4]);
113 void handleSAMPLE(operation, Value *dst0[4]);
114 void handleQUERY(Value *dst0[4], enum TexQuery query);
115 void handleDP(Value *dst0[4], int dim);
1474 Converter::emitTex(Value *dst0[4], TexInstruction *tex, const uint8_t swz[4])
1480 if (dst0[c])
1498 if (!dst0[c])
1504 mkCvt(OP_CVT, TYPE_F32, dst0[c], TYPE_U32, src);
1507 mkCvt(OP_CVT, TYPE_F32, dst0[c], TYPE_U32, src);
1509 mkOp1(OP_RCP, TYPE_F32, dst0[c], dst0[c]);
1512 mkMov(dst0[c], src);
1518 if (dst0[c])
1519 mkMov(dst0[c], res[swz[c]]);
1524 Converter::handleQUERY(Value *dst0[4], enum TexQuery query)
1540 emitTex(dst0, texi, insn->ops[rOp]->swizzle);
1544 Converter::handleLOAD(Value *dst0[4])
1567 emitTex(dst0, texi, insn->ops[2]->swizzle);
1572 Converter::handleSAMPLE(operation opr, Value *dst0[4])
1631 emitTex(dst0, texi, insn->ops[2]->swizzle);
1635 Converter::handleDP(Value *dst0[4], int dim)
1647 dst0[c] = dotp;
1710 Value *dst0[4], *rDst0[4];
1732 rDst0[c] = dst0[c] =
1736 dst0[c] = rDst0[c] ? getScratch() : NULL;
1763 Instruction *insn = mkOp2(op, dTy, dst0[c], src(0, c), src(1, c));
1773 Instruction *insn = mkOp2(op, dTy, dst0[c], src(0, c), src(1, c));
1782 mkOp3(OP_MAD, dTy, dst0[c], src(0, c), src(1, c), src(2, c));
1791 mkOp2(op, dTy, dst0[c], src(0, c), src(1, c));
1798 if (dst0[c] || dst1[c]) {
1802 if (dst0[c])
1803 mkOp2(OP_DIV, TYPE_U32, dst0[c], dvn, dvs);
1813 if (dst0[c] || dst1[c]) {
1817 if (dst0[c])
1818 mkOp2(OP_MUL, dTy, dst0[c], a, b)->subOp =
1826 handleDP(dst0, 2);
1829 handleDP(dst0, 3);
1832 handleDP(dst0, 4);
1850 mkOp1(op, dTy, dst0[c], src(0, c));
1859 mkOp2(OP_SUB, TYPE_F32, dst0[c], src0, val);
1865 mkCmp(OP_SLCT, CC_NE, TYPE_U32, dst0[c], src(1, c), src(2, c),
1874 Instruction *rnd = mkOp1(op, dTy, dst0[c], src(0, c));
1882 mkOp1(op, dTy, dst0[c], src(0, c));
1887 if (!dst0[c] && !dst1[c])
1890 if (dst0[c])
1891 mkOp1(OP_SIN, TYPE_F32, dst0[c], val);
1915 set = mkCmp(op, cc, sTy, dst0[c], src(0, c), src(1, c), NULL);
1926 mkCvt(op, dTy, dst0[c], sTy, src(0, c))->rnd = ROUND_Z;
1935 mkCvt(op, dTy, dst0[c], sTy, src(0, c));
2105 handleSAMPLE(op, dst0);
2109 handleLOAD(dst0);
2117 handleQUERY(dst0, TXQ_DIMS);
2120 handleQUERY(dst0, TXQ_SAMPLE_POSITION);
2160 if (dst0[c] != rDst0[c])
2161 mkMov(rDst0[c], dst0[c]);