/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_lowering.c | 206 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 …]
|
D | tgsi_util.c | 219 (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()
|
D | tgsi_transform.h | 400 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()
|
D | tgsi_scan.c | 171 usage_mask_after_swizzle & TGSI_WRITEMASK_Z) in scan_src_operand() 748 if (fulldecl->Declaration.UsageMask & TGSI_WRITEMASK_Z) { in scan_declaration()
|
D | tgsi_point_sprite.c | 415 TGSI_FILE_OUTPUT, dstReg, TGSI_WRITEMASK_Z, in psprite_emit_vertex_inst()
|
D | tgsi_dump.c | 233 if (writemask & TGSI_WRITEMASK_Z) in _dump_writemask()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | ShaderTGSI.c | 827 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/ |
D | i915_fpc_optimize.c | 158 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()
|
D | i915_fpc_emit.c | 188 if (coord_mask & TGSI_WRITEMASK_Z) in i915_emit_texld()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 641 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()
|
D | tgsi_to_nir.c | 983 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/ |
D | vl_mc.c | 274 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()
|
D | vl_compositor_gfx.c | 108 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()
|
D | vl_idct.c | 418 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()
|
D | vl_zscan.c | 181 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Z), vpos); in create_vert_shader()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_insn.c | 2423 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/ |
D | draw_pipe_aapoint.c | 252 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/ |
D | freedreno_program.c | 186 TGSI_WRITEMASK_Z), in fd_prog_blit_fs()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 87 #define TGSI_WRITEMASK_Z 0x04 macro
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_tgsi.c | 534 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/ |
D | u_simple_shaders.c | 414 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/ |
D | nine_shader.c | 1370 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()
|
D | nine_ff.c | 594 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/ |
D | lp_setup_point.c | 195 if (usage_mask & TGSI_WRITEMASK_Z) { in setup_point_fragcoord_coef()
|
D | lp_setup_line.c | 153 if (usage_mask & TGSI_WRITEMASK_Z) { in setup_fragcoord_coef()
|