Lines Matching refs:mat
651 const struct ureg *mat,
654 emit_op2(p, OPCODE_DP4, dest, WRITEMASK_X, src, mat[0]);
655 emit_op2(p, OPCODE_DP4, dest, WRITEMASK_Y, src, mat[1]);
656 emit_op2(p, OPCODE_DP4, dest, WRITEMASK_Z, src, mat[2]);
657 emit_op2(p, OPCODE_DP4, dest, WRITEMASK_W, src, mat[3]);
667 const struct ureg *mat,
677 emit_op2(p, OPCODE_MUL, tmp, 0, swizzle1(src,X), mat[0]);
678 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Y), mat[1], tmp);
679 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Z), mat[2], tmp);
680 emit_op3(p, OPCODE_MAD, dest, 0, swizzle1(src,W), mat[3], tmp);
689 const struct ureg *mat,
692 emit_op2(p, OPCODE_DP3, dest, WRITEMASK_X, src, mat[0]);
693 emit_op2(p, OPCODE_DP3, dest, WRITEMASK_Y, src, mat[1]);
694 emit_op2(p, OPCODE_DP3, dest, WRITEMASK_Z, src, mat[2]);