Home
last modified time | relevance | path

Searched refs:TGSI_WRITEMASK_W (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_aa_point.c171 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_W, in aa_prolog()
183 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_W, in aa_prolog()
199 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_W, in aa_prolog()
250 TGSI_WRITEMASK_W, in aa_epilog()
Dtgsi_util.c194 TGSI_WRITEMASK_XY | TGSI_WRITEMASK_W : 0; in tgsi_util_get_inst_usage_mask()
278 read_mask |= TGSI_WRITEMASK_W; in tgsi_util_get_inst_usage_mask()
Dtgsi_transform.h400 case TGSI_WRITEMASK_W: in tgsi_transform_op1_swz_inst()
450 case TGSI_WRITEMASK_W: in tgsi_transform_op2_swz_inst()
508 case TGSI_WRITEMASK_W: in tgsi_transform_op3_swz_inst()
Dtgsi_lowering.c211 if (aliases(dst, TGSI_WRITEMASK_YZ, src1, TGSI_WRITEMASK_W)) { in transform_dst()
239 if (dst->Register.WriteMask & TGSI_WRITEMASK_W) { in transform_dst()
244 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_W); in transform_dst()
645 if (dst->Register.WriteMask & TGSI_WRITEMASK_W) { in transform_exp()
650 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_W); in transform_exp()
776 if (dst->Register.WriteMask & TGSI_WRITEMASK_W) { in transform_log()
781 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_W); in transform_log()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor_gfx.c110 ureg_RCP(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_W), in create_vert_shader()
118 ureg_RCP(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_W), in create_vert_shader()
161 ureg_MOV(shader, ureg_writemask(t_tc[i], TGSI_WRITEMASK_W), in create_frag_shader_weave()
220 ureg_MOV(shader, ureg_writemask(texel, TGSI_WRITEMASK_W), in create_frag_shader_csc()
227 ureg_MOV(shader, ureg_writemask(temp[0], TGSI_WRITEMASK_W), in create_frag_shader_csc()
229 ureg_SLE(shader, ureg_writemask(temp[1], TGSI_WRITEMASK_W), in create_frag_shader_csc()
231 ureg_SGT(shader, ureg_writemask(temp[0], TGSI_WRITEMASK_W), in create_frag_shader_csc()
233 ureg_MAX(shader, ureg_writemask(fragment, TGSI_WRITEMASK_W), in create_frag_shader_csc()
384 ureg_MOV(shader, ureg_writemask(fragment, TGSI_WRITEMASK_W), ureg_src(texel)); in create_frag_shader_palette()
Dvl_mc.c201 ureg_CMP(shader, ureg_writemask(fragment, TGSI_WRITEMASK_W), in create_ref_frag_shader()
276 ureg_MOV(shader, ureg_writemask(o_flags, TGSI_WRITEMASK_W), ureg_imm1f(shader, -1.0f)); in create_ycbcr_vert_shader()
297 ureg_CMP(shader, ureg_writemask(o_flags, TGSI_WRITEMASK_W), in create_ycbcr_vert_shader()
363 ureg_MOV(shader, ureg_writemask(fragment, TGSI_WRITEMASK_W), ureg_imm1f(shader, 1.0f)); in create_ycbcr_frag_shader()
Dvl_idct.c236 …ureg_MUL(shader, ureg_writemask(m[0][0], TGSI_WRITEMASK_W), ureg_abs(ureg_src(m[7][1])), ureg_imm1… in create_mismatch_frag_shader()
240 ureg_CMP(shader, ureg_writemask(m[0][0], TGSI_WRITEMASK_W), ureg_negate(ureg_src(m[0][0])), in create_mismatch_frag_shader()
242 ureg_MUL(shader, ureg_writemask(m[0][0], TGSI_WRITEMASK_W), ureg_src(m[0][0]), in create_mismatch_frag_shader()
246 …ureg_ADD(shader, ureg_writemask(fragment, TGSI_WRITEMASK_W), ureg_src(m[0][0]), ureg_src(m[7][1])); in create_mismatch_frag_shader()
Dvl_zscan.c171 ureg_FLR(shader, ureg_writemask(tmp, TGSI_WRITEMASK_W), ureg_src(tmp)); in create_vert_shader()
182 ureg_MUL(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_W), ureg_src(tmp), in create_vert_shader()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c157 mask |= TGSI_WRITEMASK_W; in mask_for_unswizzled()
180 if (write_mask & TGSI_WRITEMASK_W && r->Register.SwizzleW != TGSI_SWIZZLE_W) in is_unswizzled()
225 if (write_mask & TGSI_WRITEMASK_W) in set_neutral_element_swizzle()
396 mask |= TGSI_WRITEMASK_W; in i915_tex_mask()
490 if (dst_reg2->Register.WriteMask & TGSI_WRITEMASK_W) in i915_fpc_optimize_mov_after_mov()
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_tgsi.c116 ureg_MUL(ureg, ureg_writemask(dst, TGSI_WRITEMASK_W), in src_in_mask()
289 ureg_writemask(tmp1, TGSI_WRITEMASK_W), in xrender_tex()
309 ureg_writemask(dst, TGSI_WRITEMASK_W), in xrender_tex()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c277 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_W, in aa_transform_prolog()
294 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_W, in aa_transform_prolog()
321 TGSI_WRITEMASK_W, in aa_transform_epilog()
Ddraw_pipe_aaline.c221 TGSI_WRITEMASK_W, in aa_transform_epilog()
236 TGSI_WRITEMASK_W, in aa_transform_epilog()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_tgsi.c730 ureg_MOV(ureg, ureg_writemask(coord, TGSI_WRITEMASK_W), ureg_imm1u(ureg, i)); in si_create_fmask_expand_cs()
739 ureg_MOV(ureg, ureg_writemask(coord, TGSI_WRITEMASK_W), ureg_imm1u(ureg, i)); in si_create_fmask_expand_cs()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c651 usagemask |= TGSI_WRITEMASK_W; in nir_tgsi_scan_shader()
688 if (usagemask & TGSI_WRITEMASK_W) { in nir_tgsi_scan_shader()
689 info->output_usagemask[i] |= TGSI_WRITEMASK_W; in nir_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c1667 writemask( tmp, TGSI_WRITEMASK_W ), in emit_tex2()
1894 if (dst.mask & TGSI_WRITEMASK_W) { in emit_tex()
1898 writemask( dst2, TGSI_WRITEMASK_W ), in emit_tex()
2364 if (dst.mask & TGSI_WRITEMASK_W) { in emit_exp()
2366 writemask(dst, TGSI_WRITEMASK_W), in emit_exp()
2600 if (dst.mask & TGSI_WRITEMASK_W) { in emit_log()
2602 writemask(dst, TGSI_WRITEMASK_W), in emit_log()
3026 writemask( emit->ps_temp_pos, TGSI_WRITEMASK_W ), in emit_ps_preamble()
3135 writemask(depth, TGSI_WRITEMASK_W), in emit_vs_postamble()
3441 writemask(dst(tmp), TGSI_WRITEMASK_W), in emit_adjusted_vertex_attribs()
Dsvga_tgsi_vgpu10.c4703 if (usage_mask & TGSI_WRITEMASK_W) { in emit_fs_input_declarations()
6545 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_W) { in emit_dst()
6547 writemask_dst(&move_dst, TGSI_WRITEMASK_W); in emit_dst()
6706 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_W) { in emit_exp()
6708 writemask_dst(&move_dst, TGSI_WRITEMASK_W); in emit_exp()
6885 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_W) { in emit_lit()
6887 writemask_dst(&move_dst, TGSI_WRITEMASK_W); in emit_lit()
7080 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_W) { in emit_log()
7082 writemask_dst(&inst->Dst[0], TGSI_WRITEMASK_W); in emit_log()
9655 writemask_dst(&pos_dst, TGSI_WRITEMASK_W); in emit_vpos_instructions()
[all …]
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c647 ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_W), in dcl_ps_siv_input()
828 assert((D3D10_SB_OPERAND_4_COMPONENT_MASK_W >> 4) == TGSI_WRITEMASK_W); in translate_dst_operand()
1232 scalar_dst = ureg_writemask(dst, TGSI_WRITEMASK_W); in expand_unary_to_scalarf()
1617 ureg_writemask(r0, TGSI_WRITEMASK_W), in Shader_tgsi_translate()
1656 ureg_writemask(r0, TGSI_WRITEMASK_W), in Shader_tgsi_translate()
1724 ureg_writemask(r0, TGSI_WRITEMASK_W), in Shader_tgsi_translate()
1763 ureg_SIN(ureg, ureg_writemask(dst, TGSI_WRITEMASK_W), in Shader_tgsi_translate()
1776 ureg_COS(ureg, ureg_writemask(dst, TGSI_WRITEMASK_W), in Shader_tgsi_translate()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_ff.c459 ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_W), _W(tmp)); in nine_ff_build_vs()
650 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs()
655 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs()
666 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs()
782 struct ureg_dst rAtt = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_W); in nine_ff_build_vs()
786 struct ureg_dst rCtr = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_W); in nine_ff_build_vs()
939 ureg_MOV(ureg, ureg_writemask(oCol[0], TGSI_WRITEMASK_W), vs->mtlD); in nine_ff_build_vs()
957 ureg_MOV(ureg, ureg_writemask(oCol[0], TGSI_WRITEMASK_W), vs->mtlD); in nine_ff_build_vs()
1196 (!(dst.WriteMask & TGSI_WRITEMASK_W) || (src.SwizzleW == TGSI_SWIZZLE_W))); in is_MOV_no_op()
1495 dst.WriteMask = TGSI_WRITEMASK_W; in nine_ff_build_ps()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c200 if (usage_mask & TGSI_WRITEMASK_W) { in setup_point_fragcoord_coef()
228 fragcoord_usage_mask |= TGSI_WRITEMASK_W; in setup_point_coefficients()
Dlp_bld_interp.c392 assert(bld->mask[0] & TGSI_WRITEMASK_W); in attribs_update_simple()
493 assert(bld->mask[0] & TGSI_WRITEMASK_W); in lp_build_interp_soa_indirect()
635 assert(bld->mask[0] & TGSI_WRITEMASK_W); in lp_build_interp_soa()
Dlp_setup_line.c158 if (usage_mask & TGSI_WRITEMASK_W) { in setup_fragcoord_coef()
204 fragcoord_usage_mask |= TGSI_WRITEMASK_W; in setup_line_coefficients()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_yuv.c298 if (dst->Register.WriteMask & TGSI_WRITEMASK_W) { in yuv_to_rgb()
300 reg_dst(&inst.Dst[0], dst, TGSI_WRITEMASK_W); in yuv_to_rgb()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h91 #define TGSI_WRITEMASK_W 0x08 macro
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c723 ureg_MOV(ureg, ureg_writemask(tmp_coord, TGSI_WRITEMASK_W), in util_make_fs_msaa_resolve()
799 ureg_MOV(ureg, ureg_writemask(tmp_coord[c], TGSI_WRITEMASK_W), in util_make_fs_msaa_resolve_bilinear()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c167 readmask |= TGSI_WRITEMASK_W; in analyse_tex()

12