Home
last modified time | relevance | path

Searched refs:TGSI_WRITEMASK_Z (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_lowering.c206 if (aliases(dst, TGSI_WRITEMASK_Y, src0, TGSI_WRITEMASK_Z)) { in transform_dst()
228 if (dst->Register.WriteMask & TGSI_WRITEMASK_Z) { in transform_dst()
233 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_Z); in transform_dst()
456 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Z); in transform_lit()
466 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Z); in transform_lit()
599 if (dst->Register.WriteMask & TGSI_WRITEMASK_Z) { in transform_exp()
634 if (dst->Register.WriteMask & TGSI_WRITEMASK_Z) { in transform_exp()
639 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_Z); in transform_exp()
739 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Z); in transform_log()
748 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_Z); in transform_log()
[all …]
Dtgsi_util.c219 (write_mask & TGSI_WRITEMASK_ZW ? TGSI_WRITEMASK_Z : 0); in tgsi_util_get_src_usage_mask()
367 if (read_mask & TGSI_WRITEMASK_Z) in tgsi_util_get_src_usage_mask()
Dtgsi_transform.h400 case TGSI_WRITEMASK_Z: in tgsi_transform_op1_swz_inst()
449 case TGSI_WRITEMASK_Z: in tgsi_transform_op2_swz_inst()
506 case TGSI_WRITEMASK_Z: in tgsi_transform_op3_swz_inst()
Dtgsi_scan.c171 usage_mask_after_swizzle & TGSI_WRITEMASK_Z) in scan_src_operand()
748 if (fulldecl->Declaration.UsageMask & TGSI_WRITEMASK_Z) { in scan_declaration()
Dtgsi_point_sprite.c415 TGSI_FILE_OUTPUT, dstReg, TGSI_WRITEMASK_Z, in psprite_emit_vertex_inst()
Dtgsi_dump.c233 if (writemask & TGSI_WRITEMASK_Z) in _dump_writemask()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c827 assert((D3D10_SB_OPERAND_4_COMPONENT_MASK_Z >> 4) == TGSI_WRITEMASK_Z); in translate_dst_operand()
1227 scalar_dst = ureg_writemask(dst, TGSI_WRITEMASK_Z); in expand_unary_to_scalarf()
1563 ureg_writemask(r0, TGSI_WRITEMASK_Z), in Shader_tgsi_translate()
1614 ureg_writemask(r0, TGSI_WRITEMASK_Z), in Shader_tgsi_translate()
1761 ureg_SIN(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Z), in Shader_tgsi_translate()
1774 ureg_COS(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Z), in Shader_tgsi_translate()
1995 …sx.output_depth = ureg_DECL_output_masked(ureg, TGSI_SEMANTIC_POSITION, 0, TGSI_WRITEMASK_Z, 0, 1); in Shader_tgsi_translate()
1996 sx.output_depth = ureg_writemask(sx.output_depth, TGSI_WRITEMASK_Z); in Shader_tgsi_translate()
2257 dst[0] = ureg_writemask(dst[0], TGSI_WRITEMASK_Z); in Shader_tgsi_translate()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c158 if (write_mask & TGSI_WRITEMASK_Z && r->Register.SwizzleZ != TGSI_SWIZZLE_Z) in is_unswizzled()
200 if (write_mask & TGSI_WRITEMASK_Z) in set_neutral_element_swizzle()
460 if (dst_reg2->Register.WriteMask & TGSI_WRITEMASK_Z) in i915_fpc_optimize_mov_after_mov()
Di915_fpc_emit.c188 if (coord_mask & TGSI_WRITEMASK_Z) in i915_emit_texld()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c641 usagemask |= TGSI_WRITEMASK_Z; in nir_tgsi_scan_shader()
676 if (usagemask & TGSI_WRITEMASK_Z) { in nir_tgsi_scan_shader()
677 info->output_usagemask[i] |= TGSI_WRITEMASK_Z; in nir_tgsi_scan_shader()
Dtgsi_to_nir.c983 ttn_move_dest_masked(b, dest, nir_fexp2(b, srcx), TGSI_WRITEMASK_Z); in ttn_exp()
1003 ttn_move_dest_masked(b, dest, nir_flog2(b, abs_srcx), TGSI_WRITEMASK_Z); in ttn_log()
1018 ttn_move_dest_masked(b, dest, nir_mov(b, src[0]), TGSI_WRITEMASK_Z); in ttn_dst()
1036 if (dest.write_mask & TGSI_WRITEMASK_Z) { in ttn_lit()
1051 TGSI_WRITEMASK_Z); in ttn_lit()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_mc.c274 ureg_MUL(shader, ureg_writemask(o_flags, TGSI_WRITEMASK_Z), in create_ycbcr_vert_shader()
285 ureg_MUL(shader, ureg_writemask(t_vtex, TGSI_WRITEMASK_Z), in create_ycbcr_vert_shader()
288 ureg_FRC(shader, ureg_writemask(t_vtex, TGSI_WRITEMASK_Z), ureg_src(t_vtex)); in create_ycbcr_vert_shader()
Dvl_compositor_gfx.c108 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
116 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
167 ureg_MUL(shader, ureg_writemask(t_tc[i], TGSI_WRITEMASK_Z), in create_frag_shader_weave()
Dvl_idct.c418 ureg_MUL(shader, ureg_writemask(tex, TGSI_WRITEMASK_Z), in vl_idct_stage2_vert_shader()
426 ureg_MOV(shader, ureg_writemask(o_r_addr[0], TGSI_WRITEMASK_Z), ureg_src(tex)); in vl_idct_stage2_vert_shader()
427 ureg_MOV(shader, ureg_writemask(o_r_addr[1], TGSI_WRITEMASK_Z), ureg_src(tex)); in vl_idct_stage2_vert_shader()
Dvl_zscan.c181 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Z), vpos); in create_vert_shader()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c2423 if (dst.mask & TGSI_WRITEMASK_Z) { in emit_exp()
2425 writemask( dst, TGSI_WRITEMASK_Z ), in emit_exp()
2482 if (dst.mask & TGSI_WRITEMASK_Z) { in emit_lit()
2586 if (dst.mask & TGSI_WRITEMASK_Z) in emit_log()
2612 writemask( log2_abs, TGSI_WRITEMASK_Z ), in emit_log()
2658 if (!(dst.mask & TGSI_WRITEMASK_Z)) in emit_log()
3103 writemask( emit->ps_temp_pos, TGSI_WRITEMASK_Z ), in emit_ps_preamble()
3232 writemask(depth, TGSI_WRITEMASK_Z), in emit_vs_postamble()
3251 writemask(temp_pos, TGSI_WRITEMASK_Z), in emit_vs_postamble()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c252 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Z, in aa_transform_prolog()
262 newInst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_Z; in aa_transform_prolog()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_program.c186 TGSI_WRITEMASK_Z), in fd_prog_blit_fs()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h87 #define TGSI_WRITEMASK_Z 0x04 macro
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_tgsi.c534 ureg_MOV(ureg, ureg_writemask(coord, TGSI_WRITEMASK_Z), ureg_scalar(blk, TGSI_SWIZZLE_Z)); in si_create_fmask_expand_cs()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c414 ureg_MOV(ureg, ureg_writemask(depth, TGSI_WRITEMASK_Z), in util_make_fs_blit_zs()
1051 ureg_MOV(ureg, ureg_writemask(out_depth, TGSI_WRITEMASK_Z), in util_make_fs_pack_color_zs()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c1370 TGSI_WRITEMASK_Z, 0, 1); in _tx_dst_param()
2455 ureg_CMP(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Z), in DECL_SPECIAL()
2702 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Z), tx->regs.vT[m+2], src); in DECL_SPECIAL()
2786 … ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Z), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); in DECL_SPECIAL()
2794 TGSI_WRITEMASK_Z, 0, 1); in DECL_SPECIAL()
2833 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_Z), tx->regs.vT[m+2], src); in DECL_SPECIAL()
2851 …ureg_MOV(ureg, ureg_writemask(E, TGSI_WRITEMASK_Z), ureg_scalar(tx->regs.vT[m+2], TGSI_SWIZZLE_W)); in DECL_SPECIAL()
2888 ureg_RCP(ureg, ureg_writemask(r5, TGSI_WRITEMASK_Z), r5g); in DECL_SPECIAL()
2895 TGSI_WRITEMASK_Z, 0, 1); in DECL_SPECIAL()
Dnine_ff.c594 struct ureg_dst tmp_z = ureg_writemask(tmp, TGSI_WRITEMASK_Z); in nine_ff_build_vs()
784 struct ureg_dst tmp_z = ureg_writemask(tmp, TGSI_WRITEMASK_Z); in nine_ff_build_vs()
974 struct ureg_dst tmp_z = ureg_writemask(tmp, TGSI_WRITEMASK_Z); in nine_ff_build_vs()
1198 (!(dst.WriteMask & TGSI_WRITEMASK_Z) || (src.SwizzleZ == TGSI_SWIZZLE_Z)) && in is_MOV_no_op()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c195 if (usage_mask & TGSI_WRITEMASK_Z) { in setup_point_fragcoord_coef()
Dlp_setup_line.c153 if (usage_mask & TGSI_WRITEMASK_Z) { in setup_fragcoord_coef()

12