Searched refs:si_shader_context (Results 1 - 17 of 17) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader_internal.h44 struct si_shader_context { struct
157 static inline struct si_shader_context *si_shader_context_from_abi(struct ac_shader_abi *abi)
159 return container_of(abi, struct si_shader_context, abi);
167 void si_init_shader_args(struct si_shader_context *ctx, bool ngg_cull_shader);
186 void gfx10_ngg_build_sendmsg_gs_alloc_req(struct si_shader_context *ctx);
187 void gfx10_ngg_build_export_prim(struct si_shader_context *ctx, LLVMValueRef user_edgeflags[3],
191 void gfx10_ngg_gs_emit_vertex(struct si_shader_context *ctx, unsigned stream, LLVMValueRef *addrs);
192 void gfx10_ngg_gs_emit_prologue(struct si_shader_context *ctx);
193 void gfx10_ngg_gs_emit_epilogue(struct si_shader_context *ctx);
202 void si_llvm_context_init(struct si_shader_context *ct
[all...]
H A Dsi_shader_llvm_tess.c29 static LLVMValueRef get_rel_patch_id(struct si_shader_context *ctx)
65 static LLVMValueRef get_tcs_in_patch_stride(struct si_shader_context *ctx)
70 static unsigned get_tcs_out_vertex_dw_stride_constant(struct si_shader_context *ctx)
80 static LLVMValueRef get_tcs_out_vertex_dw_stride(struct si_shader_context *ctx)
87 static LLVMValueRef get_tcs_out_patch_stride(struct si_shader_context *ctx)
100 static LLVMValueRef get_tcs_out_patch0_offset(struct si_shader_context *ctx)
106 static LLVMValueRef get_tcs_out_patch0_patch_data_offset(struct si_shader_context *ctx)
112 static LLVMValueRef get_tcs_in_current_patch_offset(struct si_shader_context *ctx)
120 static LLVMValueRef get_tcs_out_current_patch_offset(struct si_shader_context *ctx)
129 static LLVMValueRef get_tcs_out_current_patch_data_offset(struct si_shader_context *ct
[all...]
H A Dsi_shader_llvm_resources.c33 static LLVMValueRef si_llvm_bound_index(struct si_shader_context *ctx, LLVMValueRef index,
56 static LLVMValueRef load_const_buffer_desc_fast_path(struct si_shader_context *ctx)
93 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
111 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
138 static LLVMValueRef force_dcc_off(struct si_shader_context *ctx, LLVMValueRef rsrc)
153 static LLVMValueRef force_write_compress_off(struct si_shader_context *ctx, LLVMValueRef rsrc)
164 static LLVMValueRef fixup_image_desc(struct si_shader_context *ctx, LLVMValueRef rsrc,
179 static LLVMValueRef si_load_image_desc(struct si_shader_context *ctx, LLVMValueRef list,
207 static LLVMValueRef si_load_sampler_desc(struct si_shader_context *ctx, LLVMValueRef list,
250 struct si_shader_context *ct
[all...]
H A Dsi_shader_llvm_gs.c30 LLVMValueRef si_is_es_thread(struct si_shader_context *ctx)
37 LLVMValueRef si_is_gs_thread(struct si_shader_context *ctx)
48 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
90 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
102 static void si_set_es_return_value_for_gs(struct si_shader_context *ctx)
137 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
192 static LLVMValueRef si_get_gs_wave_id(struct si_shader_context *ctx)
200 static void emit_gs_epilogue(struct si_shader_context *ctx)
218 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
229 struct si_shader_context *ct
[all...]
H A Dsi_shader_llvm.c128 void si_llvm_context_init(struct si_shader_context *ctx, struct si_screen *sscreen,
139 void si_llvm_create_func(struct si_shader_context *ctx, const char *name, LLVMTypeRef *return_types,
195 void si_llvm_create_main_func(struct si_shader_context *ctx, bool ngg_cull_shader)
249 void si_llvm_optimize_module(struct si_shader_context *ctx)
260 void si_llvm_dispose(struct si_shader_context *ctx)
270 LLVMValueRef si_buffer_load_const(struct si_shader_context *ctx, LLVMValueRef resource,
277 void si_llvm_build_ret(struct si_shader_context *ctx, LLVMValueRef ret)
285 LLVMValueRef si_insert_input_ret(struct si_shader_context *ctx, LLVMValueRef ret,
291 LLVMValueRef si_insert_input_ret_float(struct si_shader_context *ctx, LLVMValueRef ret,
300 LLVMValueRef si_insert_input_ptr(struct si_shader_context *ct
[all...]
H A Dsi_shader_llvm_ps.c29 LLVMValueRef si_get_sample_id(struct si_shader_context *ctx)
36 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
42 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
62 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
116 static LLVMValueRef si_build_fs_interp(struct si_shader_context *ctx, unsigned attr_index,
142 static void interp_fs_color(struct si_shader_context *ctx, unsigned input_index,
200 static void si_alpha_test(struct si_shader_context *ctx, LLVMValueRef alpha)
222 static LLVMValueRef si_scale_alpha_by_sample_mask(struct si_shader_context *ctx, LLVMValueRef alpha,
252 static LLVMValueRef get_color_32bit(struct si_shader_context *ctx, unsigned color_type,
273 static void si_llvm_init_ps_export_args(struct si_shader_context *ct
[all...]
H A Dsi_shader_llvm_vs.c31 static LLVMValueRef unpack_sint16(struct si_shader_context *ctx, LLVMValueRef i32, unsigned index)
42 static void load_input_vs(struct si_shader_context *ctx, unsigned input_index, LLVMValueRef out[4])
260 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
271 void si_llvm_streamout_store_output(struct si_shader_context *ctx, LLVMValueRef const *so_buffers,
322 void si_llvm_emit_streamout(struct si_shader_context *ctx, struct si_shader_output_values *outputs,
392 static void si_llvm_emit_clipvertex(struct si_shader_context *ctx, struct ac_export_args *pos,
437 static void si_llvm_init_vs_export_args(struct si_shader_context *ctx, const LLVMValueRef *values,
449 static void si_prepare_param_exports(struct si_shader_context *ctx,
508 static void si_vertex_color_clamping(struct si_shader_context *ctx,
569 void si_llvm_build_vs_exports(struct si_shader_context *ct
[all...]
H A Dgfx10_shader_ngg.c31 static LLVMValueRef get_wave_id_in_tg(struct si_shader_context *ctx)
36 static LLVMValueRef get_tgsize(struct si_shader_context *ctx)
41 static LLVMValueRef get_thread_id_in_tg(struct si_shader_context *ctx)
50 static LLVMValueRef ngg_get_vtx_cnt(struct si_shader_context *ctx)
55 static LLVMValueRef ngg_get_prim_cnt(struct si_shader_context *ctx)
60 static LLVMValueRef ngg_get_ordered_id(struct si_shader_context *ctx)
65 static LLVMValueRef ngg_get_query_buf(struct si_shader_context *ctx)
77 static LLVMValueRef ngg_get_vertices_per_prim(struct si_shader_context *ctx, unsigned *num_vertices)
124 void gfx10_ngg_build_sendmsg_gs_alloc_req(struct si_shader_context *ctx)
135 void gfx10_ngg_build_export_prim(struct si_shader_context *ct
[all...]
H A Dsi_shader.c172 static void declare_streamout_params(struct si_shader_context *ctx,
232 static void declare_const_and_shader_buffers(struct si_shader_context *ctx, bool assign_params)
247 static void declare_samplers_and_images(struct si_shader_context *ctx, bool assign_params)
253 static void declare_per_stage_desc_pointers(struct si_shader_context *ctx, bool assign_params)
259 static void declare_global_desc_pointers(struct si_shader_context *ctx)
266 static void declare_vs_specific_input_sgprs(struct si_shader_context *ctx)
276 static void declare_vb_descriptor_input_sgprs(struct si_shader_context *ctx)
298 static void declare_vs_input_vgprs(struct si_shader_context *ctx, unsigned *num_prolog_vgprs)
334 static void declare_vs_blit_inputs(struct si_shader_context *ctx, unsigned vs_blit_property)
355 static void declare_tes_input_vgprs(struct si_shader_context *ct
[all...]
H A Dsi_pipe.h277 struct si_shader_context;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader_internal.h48 struct si_shader_context { struct
68 void (*load_input)(struct si_shader_context *,
208 static inline struct si_shader_context *
209 si_shader_context(struct lp_build_tgsi_context *bld_base) function in typeref:struct:si_shader_context *
211 return (struct si_shader_context*)bld_base;
214 static inline struct si_shader_context *
217 struct si_shader_context *ctx = NULL;
232 LLVMValueRef si_llvm_bound_index(struct si_shader_context *ctx,
236 void si_llvm_context_init(struct si_shader_context *ctx,
239 void si_llvm_context_set_tgsi(struct si_shader_context *ct
[all...]
H A Dsi_shader_tgsi_alu.c30 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
51 struct si_shader_context *ctx = si_shader_context(bld_base);
56 struct si_shader_context *ctx = si_shader_context(bld_base);
86 struct si_shader_context *ctx = si_shader_context(bld_base);
119 struct si_shader_context *ctx = si_shader_context(bld_base);
133 struct si_shader_context *ct
[all...]
H A Dsi_shader_tgsi_setup.c114 struct si_shader_context *ctx = si_shader_context(bld_base);
136 struct si_shader_context *ctx = si_shader_context(bld_base);
149 LLVMValueRef si_llvm_bound_index(struct si_shader_context *ctx,
180 struct si_shader_context *ctx = si_shader_context(bld_base);
203 struct si_shader_context *ctx = si_shader_context(bld_base);
225 struct si_shader_context *ct
[all...]
H A Dsi_shader.c70 static void si_init_shader_ctx(struct si_shader_context *ctx,
81 static void si_build_vs_prolog_function(struct si_shader_context *ctx,
83 static void si_build_tcs_epilog_function(struct si_shader_context *ctx,
85 static void si_build_ps_prolog_function(struct si_shader_context *ctx,
87 static void si_build_ps_epilog_function(struct si_shader_context *ctx,
97 static bool llvm_type_is_64bit(struct si_shader_context *ctx,
106 static bool is_merged_shader(struct si_shader_context *ctx)
244 static LLVMValueRef unpack_llvm_param(struct si_shader_context *ctx,
264 LLVMValueRef si_unpack_param(struct si_shader_context *ctx,
273 static LLVMValueRef get_rel_patch_id(struct si_shader_context *ct
[all...]
H A Dsi_shader_tgsi_mem.c45 struct si_shader_context *ctx = si_shader_context(bld_base);
71 shader_buffer_fetch_rsrc(struct si_shader_context *ctx,
161 static LLVMValueRef force_dcc_off(struct si_shader_context *ctx,
177 LLVMValueRef si_load_image_desc(struct si_shader_context *ctx,
214 struct si_shader_context *ctx = si_shader_context(bld_base);
278 struct si_shader_context *ctx = si_shader_context(bld_base);
322 static unsigned get_cache_policy(struct si_shader_context *ct
[all...]
H A Dsi_shader_nir.c915 static void declare_nir_input_vs(struct si_shader_context *ctx,
923 static void declare_nir_input_fs(struct si_shader_context *ctx,
945 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
984 struct si_shader_context *ctx = si_shader_context_from_abi(abi);
1058 static void bitcast_inputs(struct si_shader_context *ctx,
1068 bool si_nir_build_llvm(struct si_shader_context *ctx, struct nir_shader *nir)
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.3.0.rst3355 - radeonsi: change PIPE_SHADER to MESA_SHADER (si_shader_context::type)
3359 - radeonsi: remove unused si_shader_context::type

Completed in 31 milliseconds