Home
last modified time | relevance | path

Searched refs:si_unpack_param (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c34 si_unpack_param(ctx, ctx->merged_wave_info, 0, 8), ""); in si_is_es_thread()
41 si_unpack_param(ctx, ctx->merged_wave_info, 8, 8), ""); in si_is_gs_thread()
63 vtx_offset = si_unpack_param(ctx, ctx->gs_vtx01_offset, index % 2 ? 16 : 0, 16); in si_llvm_load_input_gs()
66 vtx_offset = si_unpack_param(ctx, ctx->gs_vtx23_offset, index % 2 ? 16 : 0, 16); in si_llvm_load_input_gs()
69 vtx_offset = si_unpack_param(ctx, ctx->gs_vtx45_offset, index % 2 ? 16 : 0, 16); in si_llvm_load_input_gs()
161 LLVMValueRef wave_idx = si_unpack_param(ctx, ctx->merged_wave_info, 24, 4); in si_llvm_emit_es_epilogue()
208 return si_unpack_param(ctx, ctx->merged_wave_info, 16, 8); in si_get_gs_wave_id()
467 stream_id = si_unpack_param(&ctx, ctx.streamout_config, 24, 2); in si_generate_gs_copy_shader()
638 vtx_in[i * 2] = si_unpack_param(ctx, gfx9_vtx_params[i], 0, 16); in si_llvm_build_gs_prolog()
639 vtx_in[i * 2 + 1] = si_unpack_param(ctx, gfx9_vtx_params[i], 16, 16); in si_llvm_build_gs_prolog()
Dsi_shader_llvm_tess.c33 return si_unpack_param(ctx, ctx->args.tcs_rel_ids, 0, 8); in get_rel_patch_id()
67 return si_unpack_param(ctx, ctx->vs_state_bits, 11, 13); in get_tcs_in_patch_stride()
90 return si_unpack_param(ctx, ctx->tcs_out_lds_layout, 0, 13); in get_tcs_out_patch_stride()
102 return LLVMBuildMul(ctx->ac.builder, si_unpack_param(ctx, ctx->tcs_out_lds_offsets, 0, 16), in get_tcs_out_patch0_offset()
108 return LLVMBuildMul(ctx->ac.builder, si_unpack_param(ctx, ctx->tcs_out_lds_offsets, 16, 16), in get_tcs_out_patch0_patch_data_offset()
148 return si_unpack_param(ctx, ctx->tcs_offchip_layout, 6, 6); in get_num_tcs_out_vertices()
165 return si_unpack_param(ctx, ctx->vs_state_bits, 24, 8); in get_tcs_in_vertex_dw_stride()
222 num_patches = si_unpack_param(ctx, ctx->tcs_offchip_layout, 0, 6); in get_tcs_tes_buffer_address()
238 LLVMValueRef patch_data_offset = si_unpack_param(ctx, ctx->tcs_offchip_layout, 12, 20); in get_tcs_tes_buffer_address()
635 return si_unpack_param(ctx, ctx->tcs_out_lds_layout, 13, 6); in si_load_patch_vertices_in()
[all …]
Dgfx10_shader_ngg.c33 return si_unpack_param(ctx, ctx->merged_wave_info, 24, 4); in get_wave_id_in_tg()
38 return si_unpack_param(ctx, ctx->merged_wave_info, 28, 4); in get_tgsize()
52 return si_unpack_param(ctx, ctx->gs_tg_info, 12, 9); in ngg_get_vtx_cnt()
57 return si_unpack_param(ctx, ctx->gs_tg_info, 22, 9); in ngg_get_prim_cnt()
62 return si_unpack_param(ctx, ctx->gs_tg_info, 0, 12); in ngg_get_ordered_id()
106 LLVMValueRef num = si_unpack_param(ctx, ctx->vs_state_bits, 2, 2); in ngg_get_vertices_per_prim()
188 prim.index[0] = si_unpack_param(ctx, ctx->gs_vtx01_offset, 0, 16); in gfx10_ngg_build_export_prim()
189 prim.index[1] = si_unpack_param(ctx, ctx->gs_vtx01_offset, 16, 16); in gfx10_ngg_build_export_prim()
190 prim.index[2] = si_unpack_param(ctx, ctx->gs_vtx23_offset, 0, 16); in gfx10_ngg_build_export_prim()
851 vtxindex[0] = si_unpack_param(ctx, ctx->gs_vtx01_offset, 0, 16); in gfx10_emit_ngg_culling_epilogue()
[all …]
Dsi_shader_llvm_ps.c31 return si_unpack_param(ctx, ctx->args.ancillary, 8, 4); in si_get_sample_id()
80 args.coords[chan++] = si_unpack_param(ctx, ctx->pos_fixed_pt, 0, 16); in si_nir_emit_fbfetch()
83 args.coords[chan++] = si_unpack_param(ctx, ctx->pos_fixed_pt, 16, 16); in si_nir_emit_fbfetch()
87 args.coords[chan++] = si_unpack_param(ctx, ctx->args.ancillary, 16, 11); in si_nir_emit_fbfetch()
589 address[0] = si_unpack_param(ctx, param_pos_fixed_pt, 0, 5); in si_llvm_emit_polygon_stipple()
590 address[1] = si_unpack_param(ctx, param_pos_fixed_pt, 16, 5); in si_llvm_emit_polygon_stipple()
844 LLVMValueRef sampleid = si_unpack_param(ctx, ancillary, 8, 4); in si_llvm_build_ps_prolog()
Dsi_shader_llvm_vs.c304 LLVMValueRef so_vtx_count = si_unpack_param(ctx, ctx->streamout_config, 16, 7); in si_llvm_emit_streamout()
832 si_unpack_param(ctx, input_sgpr_param[3], 8, 8), ctx->ac.i32_0, ""); in si_llvm_build_vs_prolog()
844 wave_id = si_unpack_param(ctx, input_sgpr_param[3], 24, 4); in si_llvm_build_vs_prolog()
882 builder, LLVMIntEQ, si_unpack_param(ctx, ctx->vs_state_bits, 4, 2), ctx->ac.i32_0, ""); in si_llvm_build_vs_prolog()
Dsi_shader_internal.h247 LLVMValueRef si_unpack_param(struct si_shader_context *ctx, struct ac_arg param, unsigned rshift,
Dsi_shader_llvm.c327 LLVMValueRef si_unpack_param(struct si_shader_context *ctx, struct ac_arg param, unsigned rshift, in si_unpack_param() function