Lines Matching refs:SWIZ
99 #define SWIZ(x,y,z,w) TGSI_SWIZZLE_ ## x, TGSI_SWIZZLE_ ## y, \ macro
143 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W)); in create_mov()
222 reg_src(&new_inst.Src[0], src0, SWIZ(_, Y, _, _)); in transform_dst()
223 reg_src(&new_inst.Src[1], src1, SWIZ(_, Y, _, _)); in transform_dst()
234 reg_src(&new_inst.Src[0], src0, SWIZ(_, _, Z, _)); in transform_dst()
245 reg_src(&new_inst.Src[0], src1, SWIZ(_, _, _, W)); in transform_dst()
256 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(Y, _, _, _)); in transform_dst()
291 reg_src(&new_inst.Src[0], src1, SWIZ(Y, Z, X, _)); in transform_xpd()
292 reg_src(&new_inst.Src[1], src0, SWIZ(Z, X, Y, _)); in transform_xpd()
301 reg_src(&new_inst.Src[0], src0, SWIZ(Y, Z, X, _)); in transform_xpd()
302 reg_src(&new_inst.Src[1], src1, SWIZ(Z, X, Y, _)); in transform_xpd()
303 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, Y, Z, _)); in transform_xpd()
315 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(_, _, _, Y)); in transform_xpd()
358 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_scs()
369 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_scs()
380 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(_, _, X, Y)); in transform_scs()
418 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_lrp()
419 reg_src(&new_inst.Src[1], src2, SWIZ(X, Y, Z, W)); in transform_lrp()
420 reg_src(&new_inst.Src[2], src2, SWIZ(X, Y, Z, W)); in transform_lrp()
430 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_lrp()
431 reg_src(&new_inst.Src[1], src1, SWIZ(X, Y, Z, W)); in transform_lrp()
432 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_lrp()
466 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W)); in transform_frc()
475 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W)); in transform_frc()
476 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_frc()
512 reg_src(&new_inst.Src[0], src0, SWIZ(X, _, _, _)); in transform_pow()
521 reg_src(&new_inst.Src[0], src1, SWIZ(X, _, _, _)); in transform_pow()
522 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, _, _, _)); in transform_pow()
531 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(X, _, _, _)); in transform_pow()
571 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, _, _)); in transform_lit()
572 reg_src(&new_inst.Src[1], &ctx->imm, SWIZ(X, X, _, _)); in transform_lit()
581 reg_src(&new_inst.Src[0], src, SWIZ(_, _, W, _)); in transform_lit()
582 reg_src(&new_inst.Src[1], &ctx->imm, SWIZ(_, _, Z, _)); in transform_lit()
584 reg_src(&new_inst.Src[2], &ctx->imm, SWIZ(_, _, Z, _)); in transform_lit()
593 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Y, _, _, _)); in transform_lit()
602 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, Z, _, _)); in transform_lit()
603 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, Y, _, _)); in transform_lit()
612 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Y, _, _, _)); in transform_lit()
621 reg_src(&new_inst.Src[0], src, SWIZ(_, X, _, _)); in transform_lit()
623 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, Y, _, _)); in transform_lit()
624 reg_src(&new_inst.Src[2], &ctx->imm, SWIZ(_, X, _, _)); in transform_lit()
633 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, X, Y, _)); in transform_lit()
644 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(Y, _, _, Y)); in transform_lit()
688 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_exp()
697 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_exp()
698 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, _, _, _)); in transform_exp()
708 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_exp()
720 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_exp()
731 reg_src(&new_inst.Src[0], src, SWIZ(_, X, _, _)); in transform_exp()
732 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, X, _, _)); in transform_exp()
744 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(X, _, _, _)); in transform_exp()
755 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, _, Y, _)); in transform_exp()
766 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(_, _, _, Y)); in transform_exp()
810 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_log()
823 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, X, _, _)); in transform_log()
832 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, X, _, _)); in transform_log()
833 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, Y, _, _)); in transform_log()
843 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, X, _, _)); in transform_log()
855 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Y, _, _, _)); in transform_log()
864 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Z, _, _, _)); in transform_log()
873 reg_src(&new_inst.Src[0], src, SWIZ(_, X, _, _)); in transform_log()
875 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, Z, _, _)); in transform_log()
886 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Y, _, X, _)); in transform_log()
897 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(_, _, _, Y)); in transform_log()
967 reg_src(&new_inst.Src[0], src0, SWIZ(X, _, _, _)); in transform_dotp()
968 reg_src(&new_inst.Src[1], src1, SWIZ(X, _, _, _)); in transform_dotp()
977 reg_src(&new_inst.Src[0], src0, SWIZ(Y, Y, Y, Y)); in transform_dotp()
978 reg_src(&new_inst.Src[1], src1, SWIZ(Y, Y, Y, Y)); in transform_dotp()
979 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, X, X, X)); in transform_dotp()
992 reg_src(&new_inst.Src[0], src0, SWIZ(Z, Z, Z, Z)); in transform_dotp()
993 reg_src(&new_inst.Src[1], src1, SWIZ(Z, Z, Z, Z)); in transform_dotp()
994 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, X, X, X)); in transform_dotp()
1005 reg_src(&new_inst.Src[0], src1, SWIZ(W, W, W, W)); in transform_dotp()
1006 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, X, X, X)); in transform_dotp()
1016 reg_src(&new_inst.Src[0], src0, SWIZ(W, W, W, W)); in transform_dotp()
1017 reg_src(&new_inst.Src[1], src1, SWIZ(W, W, W, W)); in transform_dotp()
1018 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, X, X, X)); in transform_dotp()
1029 reg_src(&new_inst.Src[0], src2, SWIZ(X, X, X, X)); in transform_dotp()
1030 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, X, X, X)); in transform_dotp()
1071 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_flr_ceil()
1083 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_flr_ceil()
1084 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_flr_ceil()
1124 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_trunc()
1134 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_trunc()
1137 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_trunc()
1146 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_trunc()
1157 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_trunc()
1158 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_trunc()
1160 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_trunc()
1275 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(W, _, _, _)); in transform_samp()
1284 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_samp()
1285 reg_src(&new_inst.Src[1], &ctx->tmp[B].src, SWIZ(X, X, X, X)); in transform_samp()