Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_aa_point.c179 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_W, in aa_prolog()
191 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_W, in aa_prolog()
207 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_W, in aa_prolog()
258 TGSI_WRITEMASK_W, in aa_epilog()
Dtgsi_util.c198 TGSI_WRITEMASK_XY | TGSI_WRITEMASK_W : 0; in tgsi_util_get_src_usage_mask()
282 read_mask |= TGSI_WRITEMASK_W; in tgsi_util_get_src_usage_mask()
369 if (read_mask & TGSI_WRITEMASK_W) in tgsi_util_get_src_usage_mask()
Dtgsi_transform.h403 case TGSI_WRITEMASK_W: in tgsi_transform_op1_swz_inst()
453 case TGSI_WRITEMASK_W: in tgsi_transform_op2_swz_inst()
511 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/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/drivers/radeonsi/
Dsi_shaderlib_tgsi.c544 ureg_MOV(ureg, ureg_writemask(coord, TGSI_WRITEMASK_W), ureg_imm1u(ureg, i)); in si_create_fmask_expand_cs()
553 ureg_MOV(ureg, ureg_writemask(coord, TGSI_WRITEMASK_W), ureg_imm1u(ureg, i)); in si_create_fmask_expand_cs()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c160 if (write_mask & TGSI_WRITEMASK_W && r->Register.SwizzleW != TGSI_SWIZZLE_W) in is_unswizzled()
205 if (write_mask & TGSI_WRITEMASK_W) in set_neutral_element_swizzle()
462 if (dst_reg2->Register.WriteMask & TGSI_WRITEMASK_W) in i915_fpc_optimize_mov_after_mov()
Di915_fpc_emit.c190 if (coord_mask & TGSI_WRITEMASK_W) in i915_emit_texld()
Di915_fpc_translate.c325 if (writeMask & TGSI_WRITEMASK_W) in get_result_flags()
374 coord_mask |= TGSI_WRITEMASK_W; in i915_coord_mask()
/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/frontends/nine/
Dnine_ff.c459 …ureg_CMP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_W), ureg_negate(ureg_abs(ureg_scalar(ureg_src(tm… in nine_ff_build_vs()
462 ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_W), _W(tmp)); in nine_ff_build_vs()
653 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs()
658 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs()
669 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs()
785 struct ureg_dst rAtt = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_W); in nine_ff_build_vs()
789 struct ureg_dst rCtr = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_W); in nine_ff_build_vs()
942 ureg_MOV(ureg, ureg_writemask(oCol[0], TGSI_WRITEMASK_W), vs->mtlD); in nine_ff_build_vs()
960 ureg_MOV(ureg, ureg_writemask(oCol[0], TGSI_WRITEMASK_W), vs->mtlD); in nine_ff_build_vs()
1199 (!(dst.WriteMask & TGSI_WRITEMASK_W) || (src.SwizzleW == TGSI_SWIZZLE_W))); in is_MOV_no_op()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c644 usagemask |= TGSI_WRITEMASK_W; in nir_tgsi_scan_shader()
681 if (usagemask & TGSI_WRITEMASK_W) { in nir_tgsi_scan_shader()
682 info->output_usagemask[i] |= TGSI_WRITEMASK_W; in nir_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c1668 writemask( tmp, TGSI_WRITEMASK_W ), in emit_tex2()
1895 if (dst.mask & TGSI_WRITEMASK_W) { in emit_tex()
1899 writemask( dst2, TGSI_WRITEMASK_W ), in emit_tex()
2432 if (dst.mask & TGSI_WRITEMASK_W) { in emit_exp()
2434 writemask(dst, TGSI_WRITEMASK_W), in emit_exp()
2668 if (dst.mask & TGSI_WRITEMASK_W) { in emit_log()
2670 writemask(dst, TGSI_WRITEMASK_W), in emit_log()
3097 writemask( emit->ps_temp_pos, TGSI_WRITEMASK_W ), in emit_ps_preamble()
3206 writemask(depth, TGSI_WRITEMASK_W), in emit_vs_postamble()
3512 writemask(dst(tmp), TGSI_WRITEMASK_W), in emit_adjusted_vertex_attribs()
/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/drivers/llvmpipe/
Dlp_bld_interp.c397 assert(bld->mask[0] & TGSI_WRITEMASK_W); in attribs_update_simple()
488 assert(bld->mask[0] & TGSI_WRITEMASK_W); in lp_build_interp_soa_indirect()
631 assert(bld->mask[0] & TGSI_WRITEMASK_W); in lp_build_interp_soa()
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_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/gallium/include/pipe/
Dp_shader_tokens.h91 #define TGSI_WRITEMASK_W 0x08 macro
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c739 ureg_MOV(ureg, ureg_writemask(tmp_coord, TGSI_WRITEMASK_W), in util_make_fs_msaa_resolve()
815 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