/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_mc.c | 98 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), pos, ureg_imm1f(shader, 0.5f)); in calc_line() 99 ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp)); in calc_line() 100 ureg_SGE(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp), ureg_imm1f(shader, 0.5f)); in calc_line() 207 ureg_MUL(shader, ureg_writemask(ref, TGSI_WRITEMASK_Y), in create_ref_frag_shader() 209 ureg_FLR(shader, ureg_writemask(ref, TGSI_WRITEMASK_Y), ureg_src(ref)); in create_ref_frag_shader() 210 ureg_ADD(shader, ureg_writemask(ref, TGSI_WRITEMASK_Y), in create_ref_frag_shader() 212 ureg_MUL(shader, ureg_writemask(ref, TGSI_WRITEMASK_Y), in create_ref_frag_shader() 290 ureg_CMP(shader, ureg_writemask(t_vtex, TGSI_WRITEMASK_Y), in create_ycbcr_vert_shader() 294 ureg_ADD(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_Y), in create_ycbcr_vert_shader() 342 ureg_SEQ(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), in create_ycbcr_frag_shader() [all...] |
H A D | vl_compositor_gfx.c | 102 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), in create_vert_shader() 106 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 114 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 165 ureg_MUL(shader, ureg_writemask(t_tc[i], TGSI_WRITEMASK_Y), in create_frag_shader_weave()
|
H A D | vl_zscan.c | 170 ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader() 180 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Y), vrect); in create_vert_shader() 236 ureg_MOV(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_Y), ureg_scalar(vtex[i], TGSI_SWIZZLE_W)); in create_frag_shader()
|
H A D | vl_idct.c | 76 unsigned wm_start = (right_side == transposed) ? TGSI_WRITEMASK_X : TGSI_WRITEMASK_Y; in calc_addr() 79 unsigned wm_tc = (right_side == transposed) ? TGSI_WRITEMASK_Y : TGSI_WRITEMASK_X; in calc_addr() 100 unsigned wm_start = (right_side == transposed) ? TGSI_WRITEMASK_X : TGSI_WRITEMASK_Y; in increment_addr() 101 unsigned wm_tc = (right_side == transposed) ? TGSI_WRITEMASK_Y : TGSI_WRITEMASK_X; in increment_addr() 134 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(l[1]), ureg_src(r[1])); in matrix_mul()
|
H A D | vl_deint_filter.c | 180 ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_Y), ureg_src(t_a), ureg_negate(ureg_src(t_b))); in create_deint_frag_shader() 190 ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_Y), ureg_src(t_a), ureg_negate(ureg_src(t_b))); in create_deint_frag_shader()
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_lowering.c | 206 if (aliases(dst, TGSI_WRITEMASK_Y, src0, TGSI_WRITEMASK_Z)) { in transform_dst() 216 if (dst->Register.WriteMask & TGSI_WRITEMASK_Y) { in transform_dst() 221 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_Y); in transform_dst() 477 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_lit() 486 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_lit() 496 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_lit() 505 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_lit() 604 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_exp() 610 if (dst->Register.WriteMask & TGSI_WRITEMASK_Y) { in transform_exp() 615 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_Y); in transform_exp() [all...] |
H A D | tgsi_util.c | 276 read_mask &= ~TGSI_WRITEMASK_Y; in tgsi_util_get_src_usage_mask() 365 if (read_mask & TGSI_WRITEMASK_Y) in tgsi_util_get_src_usage_mask()
|
H A D | tgsi_transform.h | 397 case TGSI_WRITEMASK_Y: in tgsi_transform_op1_swz_inst() 445 case TGSI_WRITEMASK_Y: in tgsi_transform_op2_swz_inst() 501 case TGSI_WRITEMASK_Y: in tgsi_transform_op3_swz_inst()
|
H A D | tgsi_aa_point.c | 185 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_prolog()
|
H A D | tgsi_dump.c | 231 if (writemask & TGSI_WRITEMASK_Y) in _dump_writemask()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_fpc_optimize.c | 156 if (write_mask & TGSI_WRITEMASK_Y && r->Register.SwizzleY != TGSI_SWIZZLE_Y) in is_unswizzled() 195 if (write_mask & TGSI_WRITEMASK_Y) in set_neutral_element_swizzle() 458 if (dst_reg2->Register.WriteMask & TGSI_WRITEMASK_Y) in i915_fpc_optimize_mov_after_mov()
|
H A D | i915_fpc_emit.c | 186 if (coord_mask & TGSI_WRITEMASK_Y) in i915_emit_texld()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_aapoint.c | 240 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_transform_prolog() 271 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_transform_prolog() 283 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_transform_prolog()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
H A D | nir_to_tgsi_info.c | 638 usagemask |= TGSI_WRITEMASK_Y; in nir_tgsi_scan_shader() 671 if (usagemask & TGSI_WRITEMASK_Y) { in nir_tgsi_scan_shader() 672 info->output_usagemask[i] |= TGSI_WRITEMASK_Y; in nir_tgsi_scan_shader()
|
H A D | tgsi_to_nir.c | 982 TGSI_WRITEMASK_Y); in ttn_exp() 1002 TGSI_WRITEMASK_Y); in ttn_log() 1017 ttn_move_dest_masked(b, dest, nir_fmul(b, src[0], src[1]), TGSI_WRITEMASK_Y); in ttn_dst() 1034 nir_imm_float(b, 0.0)), TGSI_WRITEMASK_Y); in ttn_lit()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_tgsi_insn.c | 1265 if (!do_emit_sincos(emit, writemask(temp, TGSI_WRITEMASK_Y), src0)) in emit_sin() 2387 if (dst.mask & TGSI_WRITEMASK_Y) in emit_exp() 2398 writemask( fraction, TGSI_WRITEMASK_Y ), in emit_exp() 2417 if (!(dst.mask & TGSI_WRITEMASK_Y)) in emit_exp() 2492 if (dst.mask & TGSI_WRITEMASK_Y) { in emit_lit() 2494 writemask(tmp, TGSI_WRITEMASK_Y ), in emit_lit() 2641 if (dst.mask & TGSI_WRITEMASK_Y) { in emit_log() 2643 writemask( dst, TGSI_WRITEMASK_Y ), in emit_log() 2649 writemask( dst, TGSI_WRITEMASK_Y ), in emit_log()
|
H A D | svga_tgsi_vgpu10.c | 7122 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_dst() 7124 writemask_dst(&move_dst, TGSI_WRITEMASK_Y); in emit_dst() 7281 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_exp() 7283 writemask_dst(&move_dst, TGSI_WRITEMASK_Y); in emit_exp() 7491 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_lit() 7493 writemask_dst(&move_dst, TGSI_WRITEMASK_Y); in emit_lit() 7669 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_log() 7671 writemask_dst(&inst->Dst[0], TGSI_WRITEMASK_Y); in emit_log() 9474 writemask_dst(&tmp_cond_dst, TGSI_WRITEMASK_X | TGSI_WRITEMASK_Y); in emit_dsqrt() 9566 cond_dst = writemask_dst(&cond_dst, TGSI_WRITEMASK_X | TGSI_WRITEMASK_Y); in emit_dtrunc() [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_shader.c | 1891 ureg_SIN(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), in DECL_SPECIAL() 2592 ureg_MAD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), m01, in DECL_SPECIAL() 2595 ureg_MAD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), m11, in DECL_SPECIAL() 2670 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], src); in DECL_SPECIAL() 2701 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], src); in DECL_SPECIAL() 2714 ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(dst), E); in DECL_SPECIAL() 2784 ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], src); in DECL_SPECIAL() 2832 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], src); in DECL_SPECIAL() 2850 ureg_MOV(ureg, ureg_writemask(E, TGSI_WRITEMASK_Y), ureg_scalar(tx->regs.vT[m+1], TGSI_SWIZZLE_W)); in DECL_SPECIAL() 2858 ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_sr in DECL_SPECIAL() [all...] |
H A D | nine_ff.c | 457 ureg_MOV(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_negate(ureg_src(tmp))); in nine_ff_build_vs() 593 struct ureg_dst tmp_y = ureg_writemask(tmp, TGSI_WRITEMASK_Y); in nine_ff_build_vs() 783 struct ureg_dst tmp_y = ureg_writemask(tmp, TGSI_WRITEMASK_Y); in nine_ff_build_vs() 1197 (!(dst.WriteMask & TGSI_WRITEMASK_Y) || (src.SwizzleY == TGSI_SWIZZLE_Y)) && in is_MOV_no_op() 1432 ureg_MUL(ureg, ureg_writemask(delta, TGSI_WRITEMASK_Y), _X(ps.rTex), _YYYY(_CONST(8 + s - 1))); in nine_ff_build_ps() 1433 ureg_MAD(ureg, ureg_writemask(delta, TGSI_WRITEMASK_Y), _Y(ps.rTex), _WWWW(_CONST(8 + s - 1)), ureg_src(delta)); in nine_ff_build_ps()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
H A D | p_shader_tokens.h | 85 #define TGSI_WRITEMASK_Y 0x02 macro
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_simple_shaders.c | 430 ureg_MOV(ureg, ureg_writemask(stencil, TGSI_WRITEMASK_Y), in util_make_fs_blit_zs() 1015 ureg_MOV(ureg, ureg_writemask(depth, TGSI_WRITEMASK_Y), in util_make_fs_pack_color_zs() 1068 ureg_MOV(ureg, ureg_writemask(out_stencil, TGSI_WRITEMASK_Y), in util_make_fs_pack_color_zs()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_point.c | 188 if (usage_mask & TGSI_WRITEMASK_Y) { in setup_point_fragcoord_coef()
|
H A D | lp_setup_line.c | 146 if (usage_mask & TGSI_WRITEMASK_Y) { in setup_fragcoord_coef()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
H A D | ShaderTGSI.c | 384 { TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y }, //TGSI_WRITEMASK_Y 826 assert((D3D10_SB_OPERAND_4_COMPONENT_MASK_Y >> 4) == TGSI_WRITEMASK_Y); in translate_dst_operand() 1222 scalar_dst = ureg_writemask(dst, TGSI_WRITEMASK_Y); in expand_unary_to_scalarf() 1759 ureg_SIN(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), in Shader_tgsi_translate() 1772 ureg_COS(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), in Shader_tgsi_translate()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_surface.c | 953 ureg_MOV(ureg, ureg_writemask(data, TGSI_WRITEMASK_Y), in nv50_blitter_make_fp() 974 struct ureg_dst sdst = ureg_writemask(data, TGSI_WRITEMASK_Y); in nv50_blitter_make_fp() 1019 mask = TGSI_WRITEMASK_Y; in nv50_blitter_make_fp()
|