Home
last modified time | relevance | path

Searched refs:TGSI_WRITEMASK_Y (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mc.c98 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()
Dvl_idct.c76 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()
Dvl_zscan.c170 …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()
Dvl_compositor_gfx.c102 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()
Dvl_deint_filter.c180 …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()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_lowering.c205 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 …]
Dtgsi_transform.h394 case TGSI_WRITEMASK_Y: in tgsi_transform_op1_swz_inst()
442 case TGSI_WRITEMASK_Y: in tgsi_transform_op2_swz_inst()
498 case TGSI_WRITEMASK_Y: in tgsi_transform_op3_swz_inst()
Dtgsi_aa_point.c177 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_prolog()
Dtgsi_util.c333 read_mask &= ~TGSI_WRITEMASK_Y; in tgsi_util_get_inst_usage_mask()
/external/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_yuv.c280 if (dst->Register.WriteMask & TGSI_WRITEMASK_Y) { in yuv_to_rgb()
282 reg_dst(&inst.Dst[0], dst, TGSI_WRITEMASK_Y); in yuv_to_rgb()
368 reg_dst(&inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Y); in lower_iyuv()
Dst_mesa_to_tgsi.c565 ureg_SIN(ureg, ureg_writemask(dst[0], TGSI_WRITEMASK_Y), in compile_instruction()
688 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y), in emit_wpos_adjustment()
696 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y), in emit_wpos_adjustment()
908 TGSI_WRITEMASK_Y); in st_translate_mesa_program()
Dst_tgsi_lower_depth_clamp.c284 TGSI_WRITEMASK_Y, in epilog_fs()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c152 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/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c240 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()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c645 usagemask |= TGSI_WRITEMASK_Y; in nir_tgsi_scan_shader()
678 if (usagemask & TGSI_WRITEMASK_Y) { in nir_tgsi_scan_shader()
679 info->output_usagemask[i] |= TGSI_WRITEMASK_Y; in nir_tgsi_scan_shader()
Dtgsi_to_nir.c979 TGSI_WRITEMASK_Y); in ttn_exp()
999 TGSI_WRITEMASK_Y); in ttn_log()
1014 ttn_move_dest_masked(b, dest, nir_fmul(b, src[0], src[1]), TGSI_WRITEMASK_Y); in ttn_dst()
1031 nir_imm_float(b, 0.0)), TGSI_WRITEMASK_Y); in ttn_lit()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c1267 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()
Dsvga_tgsi_vgpu10.c6469 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_dst()
6471 writemask_dst(&move_dst, TGSI_WRITEMASK_Y); in emit_dst()
6628 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_exp()
6630 writemask_dst(&move_dst, TGSI_WRITEMASK_Y); in emit_exp()
6837 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_lit()
6839 writemask_dst(&move_dst, TGSI_WRITEMASK_Y); in emit_lit()
7015 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_Y) { in emit_log()
7017 writemask_dst(&inst->Dst[0], TGSI_WRITEMASK_Y); in emit_log()
8767 writemask_dst(&tmp_cond_dst, TGSI_WRITEMASK_X | TGSI_WRITEMASK_Y); in emit_dsqrt()
8826 writemask_dst(&tmp_dst, TGSI_WRITEMASK_X | TGSI_WRITEMASK_Y); in emit_interp_offset()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c430 ureg_MOV(ureg, ureg_writemask(stencil, TGSI_WRITEMASK_Y), in util_make_fs_blit_zs()
999 ureg_MOV(ureg, ureg_writemask(depth, TGSI_WRITEMASK_Y), in util_make_fs_pack_color_zs()
1052 ureg_MOV(ureg, ureg_writemask(out_stencil, TGSI_WRITEMASK_Y), in util_make_fs_pack_color_zs()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h85 #define TGSI_WRITEMASK_Y 0x02 macro
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h90 #define TGSI_WRITEMASK_Y 0x02 macro
/external/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c1871 ureg_SIN(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), in DECL_SPECIAL()
2573 ureg_MAD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), m01, in DECL_SPECIAL()
2576 ureg_MAD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), m11, in DECL_SPECIAL()
2651 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], src); in DECL_SPECIAL()
2682 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], src); in DECL_SPECIAL()
2695 ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(dst), E); in DECL_SPECIAL()
2765 ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], src); in DECL_SPECIAL()
2813 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Y), tx->regs.vT[m+1], src); in DECL_SPECIAL()
2831 …ureg_MOV(ureg, ureg_writemask(E, TGSI_WRITEMASK_Y), ureg_scalar(tx->regs.vT[m+1], TGSI_SWIZZLE_W)); in DECL_SPECIAL()
2839 ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(dst), ureg_src(E)); in DECL_SPECIAL()
[all …]
Dnine_ff.c455 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/drivers/llvmpipe/
Dlp_setup_point.c188 if (usage_mask & TGSI_WRITEMASK_Y) { in setup_point_fragcoord_coef()
Dlp_setup_line.c146 if (usage_mask & TGSI_WRITEMASK_Y) { in setup_fragcoord_coef()

12