Lines Matching refs:swz
151 sr |= ((src.swz[0] << NVFX_FP_REG_SWZ_X_SHIFT) | in emit_src()
152 (src.swz[1] << NVFX_FP_REG_SWZ_Y_SHIFT) | in emit_src()
153 (src.swz[2] << NVFX_FP_REG_SWZ_Z_SHIFT) | in emit_src()
154 (src.swz[3] << NVFX_FP_REG_SWZ_W_SHIFT)); in emit_src()
402 src.swz[0] = fsrc->Register.SwizzleX; in tgsi_src()
403 src.swz[1] = fsrc->Register.SwizzleY; in tgsi_src()
404 src.swz[2] = fsrc->Register.SwizzleZ; in tgsi_src()
405 src.swz[3] = fsrc->Register.SwizzleW; in tgsi_src()
478 addend.swz[0] = fsrc->Register.SwizzleX; in nvfx_fragprog_parse_instruction()
479 addend.swz[1] = fsrc->Register.SwizzleY; in nvfx_fragprog_parse_instruction()
480 addend.swz[2] = fsrc->Register.SwizzleZ; in nvfx_fragprog_parse_instruction()
481 addend.swz[3] = fsrc->Register.SwizzleW; in nvfx_fragprog_parse_instruction()
561 …nvfx_fp_emit(fpc, arith(sat, DDX, tmp.reg, NVFX_FP_MASK_X | NVFX_FP_MASK_Y, swz(src[0], Z, W, Z, W… in nvfx_fragprog_parse_instruction()
562 …nvfx_fp_emit(fpc, arith(0, MOV, tmp.reg, NVFX_FP_MASK_Z | NVFX_FP_MASK_W, swz(tmp, X, Y, X, Y), no… in nvfx_fragprog_parse_instruction()
572 …nvfx_fp_emit(fpc, arith(sat, DDY, tmp.reg, NVFX_FP_MASK_X | NVFX_FP_MASK_Y, swz(src[0], Z, W, Z, W… in nvfx_fragprog_parse_instruction()
573 …nvfx_fp_emit(fpc, arith(0, MOV, tmp.reg, NVFX_FP_MASK_Z | NVFX_FP_MASK_W, swz(tmp, X, Y, X, Y), no… in nvfx_fragprog_parse_instruction()
583 nvfx_fp_emit(fpc, arith(0, ADD, dst, mask, swz(tmp, X, X, X, X), swz(tmp, Y, Y, Y, Y), none)); in nvfx_fragprog_parse_instruction()
594 …nvfx_fp_emit(fpc, arith(sat, ADD, dst, mask, swz(tmp, X, X, X, X), swz(src[1], W, W, W, W), none)); in nvfx_fragprog_parse_instruction()
638 …(fpc, arith(0, MAX, tmp.reg, NVFX_FP_MASK_Y | NVFX_FP_MASK_W, swz(src[0], X, X, X, Y), swz(maxs, X… in nvfx_fragprog_parse_instruction()
639 … nvfx_fp_emit(fpc, arith(0, LG2, tmp.reg, NVFX_FP_MASK_W, swz(tmp, W, W, W, W), none, none)); in nvfx_fragprog_parse_instruction()
640 …nvfx_fp_emit(fpc, arith(0, MUL, tmp.reg, NVFX_FP_MASK_W, swz(tmp, W, W, W, W), swz(src[0], W, W, W… in nvfx_fragprog_parse_instruction()
641 nvfx_fp_emit(fpc, arith(sat, LITEX2_NV40, dst, mask, swz(tmp, Y, Y, W, W), none, none)); in nvfx_fragprog_parse_instruction()
675 … nvfx_fp_emit(fpc, arith(0, LG2, tmp.reg, NVFX_FP_MASK_X, swz(src[0], X, X, X, X), none, none)); in nvfx_fragprog_parse_instruction()
676 …nvfx_fp_emit(fpc, arith(0, MUL, tmp.reg, NVFX_FP_MASK_X, swz(tmp, X, X, X, X), swz(src[1], X, X, X… in nvfx_fragprog_parse_instruction()
677 nvfx_fp_emit(fpc, arith(sat, EX2, dst, mask, swz(tmp, X, X, X, X), none, none)); in nvfx_fragprog_parse_instruction()
690 … insn = arith(0, DIV, tmp.reg, NVFX_FP_MASK_Z, swz(tmp, Y, Y, Y, Y), swz(tmp, X, X, X, X), none); in nvfx_fragprog_parse_instruction()
693 nvfx_fp_emit(fpc, arith(sat, MAD, dst, mask, swz(tmp, Z, Z, Z, Z), src[0], neg(src[1]))); in nvfx_fragprog_parse_instruction()
698 … nvfx_fp_emit(fpc, arith(sat, RSQ_NV30, dst, mask, abs(swz(src[0], X, X, X, X)), none, none)); in nvfx_fragprog_parse_instruction()
701 insn = arith(0, LG2, tmp.reg, NVFX_FP_MASK_X, abs(swz(src[0], X, X, X, X)), none, none); in nvfx_fragprog_parse_instruction()
704 nvfx_fp_emit(fpc, arith(sat, EX2, dst, mask, neg(swz(tmp, X, X, X, X)), none, none)); in nvfx_fragprog_parse_instruction()
709 if(src[0].swz[NVFX_SWZ_X] != NVFX_SWZ_X) in nvfx_fragprog_parse_instruction()
712 … nvfx_fp_emit(fpc, arith(sat, COS, dst, NVFX_FP_MASK_X, swz(src[0], X, X, X, X), none, none)); in nvfx_fragprog_parse_instruction()
714 … nvfx_fp_emit(fpc, arith(sat, SIN, dst, NVFX_FP_MASK_Y, swz(src[0], X, X, X, X), none, none)); in nvfx_fragprog_parse_instruction()
719 … nvfx_fp_emit(fpc, arith(sat, SIN, dst, NVFX_FP_MASK_Y, swz(src[0], X, X, X, X), none, none)); in nvfx_fragprog_parse_instruction()
721 … nvfx_fp_emit(fpc, arith(sat, COS, dst, NVFX_FP_MASK_X, swz(src[0], X, X, X, X), none, none)); in nvfx_fragprog_parse_instruction()
750 struct nvfx_src minones = swz(nvfx_src(nvfx_fp_imm(fpc, -1, -1, -1, -1)), X, X, X, X); in nvfx_fragprog_parse_instruction()
803 …nvfx_fp_emit(fpc, arith(0, MUL, tmp.reg, mask, swz(src[0], Z, X, Y, Y), swz(src[1], Y, Z, X, X), n… in nvfx_fragprog_parse_instruction()
804 …nvfx_fp_emit(fpc, arith(sat, MAD, dst, (mask & ~NVFX_FP_MASK_W), swz(src[0], Y, Z, X, X), swz(src[… in nvfx_fragprog_parse_instruction()