/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_util.c | 200 read_mask = TGSI_WRITEMASK_X; in tgsi_util_get_inst_usage_mask() 221 read_mask = TGSI_WRITEMASK_X; in tgsi_util_get_inst_usage_mask() 260 read_mask = write_mask & TGSI_WRITEMASK_XYZ ? TGSI_WRITEMASK_X : 0; in tgsi_util_get_inst_usage_mask() 275 (write_mask & TGSI_WRITEMASK_XY ? TGSI_WRITEMASK_X : 0) | in tgsi_util_get_inst_usage_mask() 284 read_mask = TGSI_WRITEMASK_X; in tgsi_util_get_inst_usage_mask() 349 read_mask = TGSI_WRITEMASK_X; in tgsi_util_get_inst_usage_mask() 407 read_mask = TGSI_WRITEMASK_X; /* sample */ in tgsi_util_get_inst_usage_mask()
|
D | tgsi_dynamic_indexing.c | 125 tmp_arrayIdx, TGSI_WRITEMASK_X); in remove_dynamic_indexes() 153 tmp_loopIdx, TGSI_WRITEMASK_X); in remove_dynamic_indexes() 206 tmp_cond, TGSI_WRITEMASK_X); in remove_dynamic_indexes() 260 tmp_loopIdx, TGSI_WRITEMASK_X); in remove_dynamic_indexes()
|
D | tgsi_lowering.c | 249 if (dst->Register.WriteMask & TGSI_WRITEMASK_X) { in transform_dst() 254 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_X); in transform_dst() 386 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_X); in transform_pow() 395 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_X); in transform_pow() 571 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_X); in transform_exp() 580 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_X); in transform_exp() 591 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_X); in transform_exp() 622 if (dst->Register.WriteMask & TGSI_WRITEMASK_X) { in transform_exp() 627 reg_dst(&new_inst.Dst[0], dst, TGSI_WRITEMASK_X); in transform_exp() 693 reg_dst(&new_inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_X); in transform_log() [all …]
|
D | tgsi_point_sprite.c | 297 TGSI_FILE_TEMPORARY, ts->point_scale_tmp, TGSI_WRITEMASK_X, in psprite_emit_vertex_inst() 323 TGSI_WRITEMASK_X, in psprite_emit_vertex_inst() 331 TGSI_WRITEMASK_X, in psprite_emit_vertex_inst() 444 TGSI_FILE_TEMPORARY, ts->point_size_tmp, TGSI_WRITEMASK_X, in psprite_inst() 450 TGSI_FILE_TEMPORARY, ts->point_size_tmp, TGSI_WRITEMASK_X, in psprite_inst()
|
D | tgsi_aa_point.c | 158 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_prolog() 164 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_prolog()
|
D | tgsi_transform.h | 391 case TGSI_WRITEMASK_X: in tgsi_transform_op1_swz_inst() 438 case TGSI_WRITEMASK_X: in tgsi_transform_op2_swz_inst() 493 case TGSI_WRITEMASK_X: in tgsi_transform_op3_swz_inst()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_util.c | 255 read_mask = TGSI_WRITEMASK_X; in tgsi_util_get_inst_usage_mask() 259 read_mask = write_mask & TGSI_WRITEMASK_XY ? TGSI_WRITEMASK_X : 0; in tgsi_util_get_inst_usage_mask() 264 read_mask = write_mask & TGSI_WRITEMASK_XYZ ? TGSI_WRITEMASK_X : 0; in tgsi_util_get_inst_usage_mask() 268 read_mask = src_idx == 2 ? TGSI_WRITEMASK_X : TGSI_WRITEMASK_XY; in tgsi_util_get_inst_usage_mask() 296 read_mask = TGSI_WRITEMASK_X; in tgsi_util_get_inst_usage_mask()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_tgsi_lower_depth_clamp.c | 149 inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_X; in epilog_last_vertex_stage() 176 TGSI_WRITEMASK_X, in epilog_last_vertex_stage() 194 TGSI_WRITEMASK_X, in epilog_last_vertex_stage() 202 TGSI_WRITEMASK_X, in epilog_last_vertex_stage() 275 TGSI_WRITEMASK_X, in epilog_fs() 294 TGSI_WRITEMASK_X, in epilog_fs()
|
D | st_tgsi_lower_yuv.c | 271 if (dst->Register.WriteMask & TGSI_WRITEMASK_X) { in yuv_to_rgb() 273 reg_dst(&inst.Dst[0], dst, TGSI_WRITEMASK_X); in yuv_to_rgb() 319 reg_dst(&inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_X); in lower_nv12() 354 reg_dst(&inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_X); in lower_iyuv() 363 reg_dst(&inst.Dst[0], &ctx->tmp[B].dst, TGSI_WRITEMASK_X); in lower_iyuv() 377 reg_dst(&inst.Dst[0], &ctx->tmp[B].dst, TGSI_WRITEMASK_X); in lower_iyuv()
|
D | st_mesa_to_tgsi.c | 563 ureg_COS(ureg, ureg_writemask(dst[0], TGSI_WRITEMASK_X), in compile_instruction() 952 t->outputs[i] = ureg_writemask(t->outputs[i], TGSI_WRITEMASK_X); in st_translate_mesa_program() 988 ureg_U2F(t->ureg, ureg_writemask(temp, TGSI_WRITEMASK_X), in st_translate_mesa_program()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_compositor_gfx.c | 100 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), in create_vert_shader() 105 ureg_MOV(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_X), vtex); in create_vert_shader() 113 ureg_MOV(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_X), vtex); in create_vert_shader() 157 ureg_MOV(shader, ureg_writemask(t_tc[i], TGSI_WRITEMASK_X), i_tc[i]); in create_frag_shader_weave() 181 ureg_TEX(shader, ureg_writemask(t_texel[i], TGSI_WRITEMASK_X << j), in create_frag_shader_weave() 224 ureg_DP4(shader, ureg_writemask(fragment, TGSI_WRITEMASK_X << i), csc[i], in create_frag_shader_csc() 261 …ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_2D_ARRAY, tc, sampler[… in create_frag_shader_yuv() 329 ureg_MOV(shader, ureg_writemask(fragment, TGSI_WRITEMASK_X), ureg_src(texel)); in create_frag_shader_deint_yuv() 389 ureg_DP4(shader, ureg_writemask(fragment, TGSI_WRITEMASK_X << i), csc[i], ureg_src(texel)); in create_frag_shader_palette() 458 ureg_DP4(shader, ureg_writemask(fragment, TGSI_WRITEMASK_X), csc[0], ureg_src(texel)); in create_frag_shader_rgb_yuv() [all …]
|
D | vl_deint_filter.c | 176 …ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_X), ureg_src(t_a), ureg_negate(ureg_src(t_b… in create_deint_frag_shader() 186 …ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_X), ureg_src(t_a), ureg_negate(ureg_src(t_b… in create_deint_frag_shader() 194 ureg_MAX(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_X), ureg_abs(ureg_src(t_diff)), in create_deint_frag_shader() 214 ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_X), ureg_src(t_diff), in create_deint_frag_shader() 216 ureg_MUL(shader, ureg_saturate(ureg_writemask(t_diff, TGSI_WRITEMASK_X)), in create_deint_frag_shader() 218 ureg_LRP(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_X), ureg_src(t_diff), in create_deint_frag_shader()
|
D | vl_zscan.c | 174 …ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), in create_vert_shader() 178 ureg_MAD(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_X), vrect, in create_vert_shader() 233 … ureg_TEX(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_X), TGSI_TEXTURE_2D, vtex[i], samp_scan); in create_frag_shader() 239 …ureg_TEX(shader, ureg_writemask(tmp[0], TGSI_WRITEMASK_X << i), TGSI_TEXTURE_2D, ureg_src(tmp[i]),… in create_frag_shader() 240 …ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quan… in create_frag_shader()
|
D | vl_idct.c | 76 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() 133 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_src(l[0]), ureg_src(r[0])); in matrix_mul() 374 matrix_mul(shader, ureg_writemask(fragment[i], TGSI_WRITEMASK_X << j), l[j], r); in create_stage1_frag_shader()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_tgsi.c | 75 ureg_MOV(ureg, ureg_writemask(layer, TGSI_WRITEMASK_X), in si_get_blitter_vs() 149 struct ureg_dst store_addr = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_X); in si_create_dma_compute_shader() 150 struct ureg_dst load_addr = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_X); in si_create_dma_compute_shader() 236 struct ureg_dst idx = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_X); in si_create_dcc_retile_cs() 257 dcc_value[i] = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_X); in si_create_dcc_retile_cs() 265 dcc_dst = ureg_writemask(dcc_dst, TGSI_WRITEMASK_X); in si_create_dcc_retile_cs()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_simple_shaders.c | 108 ureg_MOV(ureg, ureg_writemask(layer, TGSI_WRITEMASK_X), in util_make_vertex_passthrough_shader_with_so() 410 ureg_load_tex(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), coord, in util_make_fs_blit_zs() 426 ureg_load_tex(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), coord, in util_make_fs_blit_zs() 951 depth_x = ureg_writemask(depth, TGSI_WRITEMASK_X); in util_make_fs_pack_color_zs() 980 stencil = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_X); in util_make_fs_pack_color_zs() 996 ureg_MOV(ureg, ureg_writemask(out, TGSI_WRITEMASK_X), ureg_src(depth)); in util_make_fs_pack_color_zs() 1014 depth = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_X); in util_make_fs_pack_color_zs() 1015 stencil = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_X); in util_make_fs_pack_color_zs() 1148 ureg_UARL(ureg, ureg_writemask(addr, TGSI_WRITEMASK_X), in util_make_tess_ctrl_passthrough_shader()
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | nine_shader.c | 784 return ureg_writemask(tx_scratch(tx), TGSI_WRITEMASK_X); in tx_scratch_scalar() 1869 ureg_COS(ureg, ureg_writemask(dst, TGSI_WRITEMASK_X), in DECL_SPECIAL() 1981 struct ureg_dst tmp = ureg_writemask(tx_scratch(tx), TGSI_WRITEMASK_X); in DECL_SPECIAL() 1999 struct ureg_dst tmp = ureg_writemask(tx_scratch(tx), TGSI_WRITEMASK_X); in DECL_SPECIAL() 2565 ureg_MAD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), m00, in DECL_SPECIAL() 2568 ureg_MAD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), m10, in DECL_SPECIAL() 2650 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_X), tx->regs.vT[m], src); in DECL_SPECIAL() 2681 ureg_DP3(ureg, ureg_writemask(dst, TGSI_WRITEMASK_X), tx->regs.vT[m], src); in DECL_SPECIAL() 2692 ureg_DP3(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_src(dst), ureg_src(dst)); in DECL_SPECIAL() 2693 … ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in DECL_SPECIAL() [all …]
|
D | nine_ff.c | 323 struct ureg_dst tmp_x = ureg_writemask(tmp, TGSI_WRITEMASK_X); in ureg_normalize3() 424 oFog = ureg_writemask(oFog, TGSI_WRITEMASK_X); in nine_ff_build_vs() 429 TGSI_WRITEMASK_X, 0, 1); in nine_ff_build_vs() 430 oPsz = ureg_writemask(oPsz, TGSI_WRITEMASK_X); in nine_ff_build_vs() 587 struct ureg_dst tmp_x = ureg_writemask(tmp, TGSI_WRITEMASK_X); in nine_ff_build_vs() 634 tmp_x = ureg_writemask(tmp, TGSI_WRITEMASK_X); in nine_ff_build_vs() 682 ureg_DP3(ureg, ureg_writemask(tmp2, TGSI_WRITEMASK_X), ureg_src(tmp2), ureg_src(tmp2)); in nine_ff_build_vs() 683 ureg_RSQ(ureg, ureg_writemask(tmp2, TGSI_WRITEMASK_X), ureg_src(tmp2)); in nine_ff_build_vs() 684 … ureg_MUL(ureg, ureg_writemask(tmp2, TGSI_WRITEMASK_X), ureg_src(tmp2), ureg_imm1f(ureg, 0.5f)); in nine_ff_build_vs() 777 struct ureg_dst tmp_x = ureg_writemask(tmp, TGSI_WRITEMASK_X); in nine_ff_build_vs() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 154 mask |= TGSI_WRITEMASK_X; in mask_for_unswizzled() 162 if ( write_mask & TGSI_WRITEMASK_X && r->Register.SwizzleX != TGSI_SWIZZLE_X) in is_unswizzled() 196 if ( write_mask & TGSI_WRITEMASK_X ) in set_neutral_element_swizzle() 457 if (dst_reg2->Register.WriteMask & TGSI_WRITEMASK_X) in i915_fpc_optimize_mov_after_mov()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_insn.c | 1295 if (!do_emit_sincos( emit, writemask(temp, TGSI_WRITEMASK_X), src0 )) in emit_cos() 1871 writemask(src0_zdivw, TGSI_WRITEMASK_X), in emit_tex() 1876 writemask(src0_zdivw, TGSI_WRITEMASK_X), in emit_tex() 2161 writemask(get_temp( emit ), TGSI_WRITEMASK_X ); in emit_pow() 2323 else if (dst.mask & TGSI_WRITEMASK_X) in emit_exp() 2339 if (dst.mask & TGSI_WRITEMASK_X) { in emit_exp() 2341 writemask( dst, TGSI_WRITEMASK_X ), in emit_exp() 2347 writemask( dst, TGSI_WRITEMASK_X ), in emit_exp() 2554 if (dst.mask & TGSI_WRITEMASK_X) in emit_log() 2562 writemask( floor_log2, TGSI_WRITEMASK_X ), in emit_log() [all …]
|
D | svga_tgsi_vgpu10.c | 1418 STATIC_ASSERT(TGSI_WRITEMASK_X == VGPU10_OPERAND_4_COMPONENT_MASK_X); in emit_dst_register() 5920 dst = writemask_dst(&dst, TGSI_WRITEMASK_X); in store_tesslevels() 5934 dst = writemask_dst(&dst, TGSI_WRITEMASK_X); in store_tesslevels() 5950 dst = writemask_dst(&dst, TGSI_WRITEMASK_X); in store_tesslevels() 5963 dst = writemask_dst(&dst, TGSI_WRITEMASK_X); in store_tesslevels() 5977 dst = writemask_dst(&dst, TGSI_WRITEMASK_X); in store_tesslevels() 6460 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_X) { in emit_dst() 6462 writemask_dst(&move_dst, TGSI_WRITEMASK_X); in emit_dst() 6609 tmp_dst = writemask_dst(&tmp_dst, TGSI_WRITEMASK_X); in emit_exp() 6617 if (inst->Dst[0].Register.WriteMask & TGSI_WRITEMASK_X) { in emit_exp() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 222 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_transform_prolog() 229 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_transform_prolog() 234 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_transform_prolog()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 642 usagemask |= TGSI_WRITEMASK_X; in nir_tgsi_scan_shader() 673 if (usagemask & TGSI_WRITEMASK_X) { in nir_tgsi_scan_shader() 674 info->output_usagemask[i] |= TGSI_WRITEMASK_X; in nir_tgsi_scan_shader()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_info.c | 121 readmask = TGSI_WRITEMASK_X; in analyse_tex() 220 readmask = TGSI_WRITEMASK_X; in analyse_sample()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_buffer.c | 247 if (writemask & TGSI_WRITEMASK_X) { in handle_op_atomic()
|