• Home
  • Raw
  • Download

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()
294 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_lrp()
295 reg_src(&new_inst.Src[1], src2, SWIZ(X, Y, Z, W)); in transform_lrp()
296 reg_src(&new_inst.Src[2], src2, SWIZ(X, Y, Z, W)); in transform_lrp()
306 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_lrp()
307 reg_src(&new_inst.Src[1], src1, SWIZ(X, Y, Z, W)); in transform_lrp()
308 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_lrp()
342 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W)); in transform_frc()
351 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W)); in transform_frc()
352 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_frc()
388 reg_src(&new_inst.Src[0], src0, SWIZ(X, _, _, _)); in transform_pow()
397 reg_src(&new_inst.Src[0], src1, SWIZ(X, _, _, _)); in transform_pow()
398 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, _, _, _)); in transform_pow()
407 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(X, _, _, _)); in transform_pow()
447 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, _, _)); in transform_lit()
448 reg_src(&new_inst.Src[1], &ctx->imm, SWIZ(X, X, _, _)); in transform_lit()
457 reg_src(&new_inst.Src[0], src, SWIZ(_, _, W, _)); in transform_lit()
458 reg_src(&new_inst.Src[1], &ctx->imm, SWIZ(_, _, Z, _)); in transform_lit()
467 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, _, Z, _)); in transform_lit()
468 reg_src(&new_inst.Src[1], &ctx->imm, SWIZ(_, _, Z, _)); in transform_lit()
478 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Y, _, _, _)); in transform_lit()
487 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, Z, _, _)); in transform_lit()
488 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, Y, _, _)); in transform_lit()
497 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Y, _, _, _)); in transform_lit()
506 reg_src(&new_inst.Src[0], src, SWIZ(_, X, _, _)); in transform_lit()
508 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, Y, _, _)); in transform_lit()
509 reg_src(&new_inst.Src[2], &ctx->imm, SWIZ(_, X, _, _)); in transform_lit()
518 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, X, Y, _)); in transform_lit()
529 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(Y, _, _, Y)); in transform_lit()
573 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_exp()
582 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_exp()
583 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, _, _, _)); in transform_exp()
593 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_exp()
605 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_exp()
616 reg_src(&new_inst.Src[0], src, SWIZ(_, X, _, _)); in transform_exp()
617 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, X, _, _)); in transform_exp()
629 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(X, _, _, _)); in transform_exp()
640 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, _, Y, _)); in transform_exp()
651 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(_, _, _, Y)); in transform_exp()
695 reg_src(&new_inst.Src[0], src, SWIZ(X, _, _, _)); in transform_log()
708 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, X, _, _)); in transform_log()
717 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, X, _, _)); in transform_log()
718 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, Y, _, _)); in transform_log()
728 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(_, X, _, _)); in transform_log()
740 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Y, _, _, _)); in transform_log()
749 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Z, _, _, _)); in transform_log()
758 reg_src(&new_inst.Src[0], src, SWIZ(_, X, _, _)); in transform_log()
760 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(_, Z, _, _)); in transform_log()
771 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(Y, _, X, _)); in transform_log()
782 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(_, _, _, Y)); in transform_log()
839 reg_src(&new_inst.Src[0], src0, SWIZ(X, _, _, _)); in transform_dotp()
840 reg_src(&new_inst.Src[1], src1, SWIZ(X, _, _, _)); in transform_dotp()
849 reg_src(&new_inst.Src[0], src0, SWIZ(Y, Y, Y, Y)); in transform_dotp()
850 reg_src(&new_inst.Src[1], src1, SWIZ(Y, Y, Y, Y)); in transform_dotp()
851 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, X, X, X)); in transform_dotp()
863 reg_src(&new_inst.Src[0], src0, SWIZ(Z, Z, Z, Z)); in transform_dotp()
864 reg_src(&new_inst.Src[1], src1, SWIZ(Z, Z, Z, Z)); in transform_dotp()
865 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, X, X, X)); in transform_dotp()
876 reg_src(&new_inst.Src[0], src0, SWIZ(W, W, W, W)); in transform_dotp()
877 reg_src(&new_inst.Src[1], src1, SWIZ(W, W, W, W)); in transform_dotp()
878 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, X, X, X)); in transform_dotp()
920 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_flr_ceil()
932 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_flr_ceil()
933 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_flr_ceil()
973 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_trunc()
983 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_trunc()
986 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_trunc()
995 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_trunc()
1006 reg_src(&new_inst.Src[0], src0, SWIZ(X, Y, Z, W)); in transform_trunc()
1007 reg_src(&new_inst.Src[1], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_trunc()
1009 reg_src(&new_inst.Src[2], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_trunc()
1124 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(W, _, _, _)); in transform_samp()
1133 reg_src(&new_inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in transform_samp()
1134 reg_src(&new_inst.Src[1], &ctx->tmp[B].src, SWIZ(X, X, X, X)); in transform_samp()