/external/mesa3d/src/gallium/auxiliary/vl/ |
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()
|
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()
|
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()
|
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()
|
D | vl_compositor.c | 105 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), in create_vert_shader() 109 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 117 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 168 ureg_MUL(shader, ureg_writemask(t_tc[i], TGSI_WRITEMASK_Y), in create_frag_shader_weave()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_lowering.c | 205 if (aliases(dst, TGSI_WRITEMASK_Y, src0, TGSI_WRITEMASK_Z)) { in transform_dst() 215 if (dst->Register.WriteMask & TGSI_WRITEMASK_Y) { in transform_dst() 220 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_Y); in transform_dst() 476 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_lit() 485 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_lit() 495 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_lit() 504 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_lit() 603 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in transform_exp() 609 if (dst->Register.WriteMask & TGSI_WRITEMASK_Y) { in transform_exp() 614 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_Y); in transform_exp() [all …]
|
D | tgsi_transform.h | 376 case TGSI_WRITEMASK_Y: in tgsi_transform_op1_swz_inst() 424 case TGSI_WRITEMASK_Y: in tgsi_transform_op2_swz_inst() 480 case TGSI_WRITEMASK_Y: in tgsi_transform_op3_swz_inst()
|
D | tgsi_aa_point.c | 177 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_prolog()
|
D | tgsi_util.c | 333 read_mask &= ~TGSI_WRITEMASK_Y; in tgsi_util_get_inst_usage_mask()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 152 mask |= TGSI_WRITEMASK_Y; in mask_for_unswizzled() 164 if ( write_mask & TGSI_WRITEMASK_Y && r->Register.SwizzleY != TGSI_SWIZZLE_Y) in is_unswizzled() 201 if ( write_mask & TGSI_WRITEMASK_Y ) in set_neutral_element_swizzle() 459 if (dst_reg2->Register.WriteMask & TGSI_WRITEMASK_Y) in i915_fpc_optimize_mov_after_mov()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_mesa_to_tgsi.c | 553 ureg_SIN(ureg, ureg_writemask(dst[0], TGSI_WRITEMASK_Y), in compile_instruction() 676 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y), in emit_wpos_adjustment() 684 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y), in emit_wpos_adjustment() 896 TGSI_WRITEMASK_Y); in st_translate_mesa_program()
|
D | st_tgsi_lower_yuv.c | 280 reg_dst(&inst.Dst[0], dst, TGSI_WRITEMASK_Y); in yuv_to_rgb() 361 reg_dst(&inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in lower_iyuv()
|
D | st_pbo.c | 495 ureg_writemask(temp1, target == PIPE_TEXTURE_1D_ARRAY ? TGSI_WRITEMASK_Y in create_fs()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 238 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_transform_prolog() 269 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_transform_prolog() 281 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_transform_prolog()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_insn.c | 1267 if (!do_emit_sincos(emit, writemask(temp, TGSI_WRITEMASK_Y), src0)) in emit_sin() 2321 if (dst.mask & TGSI_WRITEMASK_Y) in emit_exp() 2332 writemask( fraction, TGSI_WRITEMASK_Y ), in emit_exp() 2351 if (!(dst.mask & TGSI_WRITEMASK_Y)) in emit_exp() 2426 if (dst.mask & TGSI_WRITEMASK_Y) { in emit_lit() 2428 writemask(tmp, TGSI_WRITEMASK_Y ), in emit_lit() 2575 if (dst.mask & TGSI_WRITEMASK_Y) { in emit_log() 2577 writemask( dst, TGSI_WRITEMASK_Y ), in emit_log() 2583 writemask( dst, TGSI_WRITEMASK_Y ), in emit_log()
|
D | svga_tgsi_vgpu10.c | 3629 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_dst() 3631 writemask_dst(&move_dst, TGSI_WRITEMASK_Y); in emit_dst() 3755 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_exp() 3757 writemask_dst(&move_dst, TGSI_WRITEMASK_Y); in emit_exp() 3961 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_lit() 3963 writemask_dst(&move_dst, TGSI_WRITEMASK_Y); in emit_lit() 4120 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_log() 4122 writemask_dst(&inst->Dst[0], TGSI_WRITEMASK_Y); in emit_log()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_shader.c | 1794 ureg_SIN(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), in DECL_SPECIAL() 2442 ureg_MAD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), m01, in DECL_SPECIAL() 2445 ureg_MAD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), m11, in DECL_SPECIAL() 2517 … ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], ureg_src(tx->regs.tS[n])); in DECL_SPECIAL() 2547 … ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], ureg_src(tx->regs.tS[n])); in DECL_SPECIAL() 2560 ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(dst), E); in DECL_SPECIAL() 2627 … ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], ureg_src(tx->regs.tS[n])); in DECL_SPECIAL() 2673 … ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], ureg_src(tx->regs.tS[n])); in DECL_SPECIAL() 2691 …ureg_MOV(ureg, ureg_writemask(E, TGSI_WRITEMASK_Y), ureg_scalar(tx->regs.vT[m+1], TGSI_SWIZZLE_W)); in DECL_SPECIAL() 2699 ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(dst), ureg_src(E)); in DECL_SPECIAL() [all …]
|
D | nine_ff.c | 455 ureg_MOV(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_negate(ureg_src(tmp))); in nine_ff_build_vs() 588 struct ureg_dst tmp_y = ureg_writemask(tmp, TGSI_WRITEMASK_Y); in nine_ff_build_vs() 778 struct ureg_dst tmp_y = ureg_writemask(tmp, TGSI_WRITEMASK_Y); in nine_ff_build_vs() 1192 (!(dst.WriteMask & TGSI_WRITEMASK_Y) || (src.SwizzleY == TGSI_SWIZZLE_Y)) && in is_MOV_no_op() 1423 … ureg_MUL(ureg, ureg_writemask(delta, TGSI_WRITEMASK_Y), _X(ps.rTex), _YYYY(_CONST(8 + s - 1))); in nine_ff_build_ps() 1424 …ureg_MAD(ureg, ureg_writemask(delta, TGSI_WRITEMASK_Y), _Y(ps.rTex), _WWWW(_CONST(8 + s - 1)), ure… in nine_ff_build_ps()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_simple_shaders.c | 441 ureg_load_tex(ureg, ureg_writemask(stencil, TGSI_WRITEMASK_Y), tex, in util_make_fragment_tex_shader_writedepthstencil() 494 ureg_load_tex(ureg, ureg_writemask(stencil, TGSI_WRITEMASK_Y), tex, in util_make_fragment_tex_shader_writestencil()
|
/external/virglrenderer/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 89 #define TGSI_WRITEMASK_Y 0x02 macro
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_tgsi.c | 172 ureg_MOV(ureg, ureg_writemask(temp4, TGSI_WRITEMASK_Y), ureg_src(temp2)); in linear_gradient() 223 ureg_MOV(ureg, ureg_writemask(temp5, TGSI_WRITEMASK_Y), ureg_src(temp2)); in radial_gradient()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 85 #define TGSI_WRITEMASK_Y 0x02 macro
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 888 TGSI_WRITEMASK_Y); in ttn_exp() 908 TGSI_WRITEMASK_Y); in ttn_log() 923 ttn_move_dest_masked(b, dest, nir_fmul(b, src[0], src[1]), TGSI_WRITEMASK_Y); in ttn_dst() 940 nir_imm_float(b, 0.0)), TGSI_WRITEMASK_Y); in ttn_lit()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_point.c | 188 if (usage_mask & TGSI_WRITEMASK_Y) { in setup_point_fragcoord_coef()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_compiler.c | 349 swiz[1] = (dst->WriteMask & TGSI_WRITEMASK_Y) ? 'y' : '_'; in add_dst_reg() 713 case TGSI_WRITEMASK_Y: in translate_pow()
|