Home
last modified time | relevance | path

Searched refs:si_shader_context (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_internal.h39 struct si_shader_context { struct
153 static inline struct si_shader_context *si_shader_context_from_abi(struct ac_shader_abi *abi) in si_shader_context_from_abi() argument
155 return container_of(abi, struct si_shader_context, abi); in si_shader_context_from_abi()
163 void si_init_shader_args(struct si_shader_context *ctx, bool ngg_cull_shader);
181 LLVMValueRef gfx10_get_thread_id_in_tg(struct si_shader_context *ctx);
183 void gfx10_ngg_build_sendmsg_gs_alloc_req(struct si_shader_context *ctx);
184 void gfx10_ngg_build_export_prim(struct si_shader_context *ctx, LLVMValueRef user_edgeflags[3],
186 void gfx10_ngg_culling_build_end(struct si_shader_context *ctx);
187 void gfx10_ngg_build_end(struct si_shader_context *ctx);
188 void gfx10_ngg_gs_emit_vertex(struct si_shader_context *ctx, unsigned stream, LLVMValueRef *addrs);
[all …]
Dsi_shader_llvm_resources.c33 static LLVMValueRef si_llvm_bound_index(struct si_shader_context *ctx, LLVMValueRef index, in si_llvm_bound_index()
56 static LLVMValueRef load_const_buffer_desc_fast_path(struct si_shader_context *ctx) in load_const_buffer_desc_fast_path()
94 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in load_ubo()
112 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in load_ssbo()
139 static LLVMValueRef force_dcc_off(struct si_shader_context *ctx, LLVMValueRef rsrc) in force_dcc_off()
154 static LLVMValueRef force_write_compress_off(struct si_shader_context *ctx, LLVMValueRef rsrc) in force_write_compress_off()
165 static LLVMValueRef fixup_image_desc(struct si_shader_context *ctx, LLVMValueRef rsrc, in fixup_image_desc()
180 static LLVMValueRef si_load_image_desc(struct si_shader_context *ctx, LLVMValueRef list, in si_load_image_desc()
208 static LLVMValueRef si_load_sampler_desc(struct si_shader_context *ctx, LLVMValueRef list, in si_load_sampler_desc()
252 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_nir_load_sampler_desc()
[all …]
Dsi_shader_llvm_tess.c29 LLVMValueRef si_get_rel_patch_id(struct si_shader_context *ctx) in si_get_rel_patch_id()
65 static unsigned get_tcs_out_vertex_dw_stride_constant(struct si_shader_context *ctx) in get_tcs_out_vertex_dw_stride_constant()
72 static LLVMValueRef get_tcs_out_patch_stride(struct si_shader_context *ctx) in get_tcs_out_patch_stride()
82 static LLVMValueRef get_tcs_out_patch0_patch_data_offset(struct si_shader_context *ctx) in get_tcs_out_patch0_patch_data_offset()
87 static LLVMValueRef get_tcs_out_current_patch_data_offset(struct si_shader_context *ctx) in get_tcs_out_current_patch_data_offset()
96 LLVMValueRef si_get_num_tcs_out_vertices(struct si_shader_context *ctx) in si_get_num_tcs_out_vertices()
110 LLVMValueRef si_get_tcs_in_vertex_dw_stride(struct si_shader_context *ctx) in si_get_tcs_in_vertex_dw_stride()
150 static LLVMValueRef get_tcs_tes_buffer_address(struct si_shader_context *ctx, in get_tcs_tes_buffer_address()
189 static LLVMValueRef lshs_lds_load(struct si_shader_context *ctx, LLVMTypeRef type, unsigned swizzle, in lshs_lds_load()
215 static LLVMValueRef get_tess_ring_descriptor(struct si_shader_context *ctx, enum si_tess_ring ring) in get_tess_ring_descriptor()
[all …]
Dsi_shader_llvm_gs.c32 LLVMValueRef si_is_es_thread(struct si_shader_context *ctx) in si_is_es_thread()
39 LLVMValueRef si_is_gs_thread(struct si_shader_context *ctx) in si_is_gs_thread()
47 static void si_set_es_return_value_for_gs(struct si_shader_context *ctx) in si_set_es_return_value_for_gs()
85 void si_llvm_es_build_end(struct si_shader_context *ctx) in si_llvm_es_build_end()
91 static LLVMValueRef si_get_gs_wave_id(struct si_shader_context *ctx) in si_get_gs_wave_id()
99 static LLVMValueRef ngg_get_emulated_counters_buf(struct si_shader_context *ctx) in ngg_get_emulated_counters_buf()
107 void si_llvm_gs_build_end(struct si_shader_context *ctx) in si_llvm_gs_build_end()
169 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_llvm_emit_vertex()
247 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_llvm_emit_primitive()
259 void si_preload_esgs_ring(struct si_shader_context *ctx) in si_preload_esgs_ring()
[all …]
Dsi_shader_llvm_ps.c29 LLVMValueRef si_get_sample_id(struct si_shader_context *ctx) in si_get_sample_id()
36 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in load_sample_position()
56 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_nir_emit_fbfetch()
114 static LLVMValueRef si_build_fs_interp(struct si_shader_context *ctx, unsigned attr_index, in si_build_fs_interp()
140 static void interp_fs_color(struct si_shader_context *ctx, unsigned input_index, in interp_fs_color()
198 static void si_alpha_test(struct si_shader_context *ctx, LLVMValueRef alpha) in si_alpha_test()
231 static LLVMValueRef get_color_32bit(struct si_shader_context *ctx, unsigned color_type, in get_color_32bit()
252 static bool si_llvm_init_ps_export_args(struct si_shader_context *ctx, LLVMValueRef *values, in si_llvm_init_ps_export_args()
396 static void si_llvm_build_clamp_alpha_test(struct si_shader_context *ctx, in si_llvm_build_clamp_alpha_test()
415 static void si_export_mrt_color(struct si_shader_context *ctx, LLVMValueRef *color, unsigned index, in si_export_mrt_color()
[all …]
Dsi_shader_llvm.c128 void si_llvm_context_init(struct si_shader_context *ctx, struct si_screen *sscreen, in si_llvm_context_init()
139 void si_llvm_create_func(struct si_shader_context *ctx, const char *name, LLVMTypeRef *return_types, in si_llvm_create_func()
199 void si_llvm_create_main_func(struct si_shader_context *ctx, bool ngg_cull_shader) in si_llvm_create_main_func()
255 void si_llvm_optimize_module(struct si_shader_context *ctx) in si_llvm_optimize_module()
266 void si_llvm_dispose(struct si_shader_context *ctx) in si_llvm_dispose()
276 LLVMValueRef si_buffer_load_const(struct si_shader_context *ctx, LLVMValueRef resource, in si_buffer_load_const()
283 void si_llvm_build_ret(struct si_shader_context *ctx, LLVMValueRef ret) in si_llvm_build_ret()
291 LLVMValueRef si_insert_input_ret(struct si_shader_context *ctx, LLVMValueRef ret, in si_insert_input_ret()
297 LLVMValueRef si_insert_input_ret_float(struct si_shader_context *ctx, LLVMValueRef ret, in si_insert_input_ret_float()
306 LLVMValueRef si_insert_input_ptr(struct si_shader_context *ctx, LLVMValueRef ret, in si_insert_input_ptr()
[all …]
Dgfx10_shader_ngg.c32 static LLVMValueRef get_wave_id_in_tg(struct si_shader_context *ctx) in get_wave_id_in_tg()
37 static LLVMValueRef get_tgsize(struct si_shader_context *ctx) in get_tgsize()
42 LLVMValueRef gfx10_get_thread_id_in_tg(struct si_shader_context *ctx) in gfx10_get_thread_id_in_tg()
51 static LLVMValueRef ngg_get_vtx_cnt(struct si_shader_context *ctx) in ngg_get_vtx_cnt()
56 static LLVMValueRef ngg_get_prim_cnt(struct si_shader_context *ctx) in ngg_get_prim_cnt()
61 static LLVMValueRef ngg_get_ordered_id(struct si_shader_context *ctx) in ngg_get_ordered_id()
66 static LLVMValueRef ngg_get_query_buf(struct si_shader_context *ctx) in ngg_get_query_buf()
74 static LLVMValueRef ngg_get_emulated_counters_buf(struct si_shader_context *ctx) in ngg_get_emulated_counters_buf()
86 static LLVMValueRef ngg_get_vertices_per_prim(struct si_shader_context *ctx, unsigned *num_vertices) in ngg_get_vertices_per_prim()
136 void gfx10_ngg_build_sendmsg_gs_alloc_req(struct si_shader_context *ctx) in gfx10_ngg_build_sendmsg_gs_alloc_req()
[all …]
Dsi_shader_llvm_vs.c31 static LLVMValueRef unpack_sint16(struct si_shader_context *ctx, LLVMValueRef i32, unsigned index) in unpack_sint16()
42 static void load_input_vs(struct si_shader_context *ctx, unsigned input_index, LLVMValueRef out[4]) in load_input_vs()
260 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_load_vs_input()
271 void si_llvm_streamout_store_output(struct si_shader_context *ctx, LLVMValueRef const *so_buffers, in si_llvm_streamout_store_output()
316 void si_llvm_emit_streamout(struct si_shader_context *ctx, struct si_shader_output_values *outputs, in si_llvm_emit_streamout()
385 void si_llvm_clipvertex_to_clipdist(struct si_shader_context *ctx, in si_llvm_clipvertex_to_clipdist()
430 static void si_llvm_init_vs_export_args(struct si_shader_context *ctx, const LLVMValueRef *values, in si_llvm_init_vs_export_args()
449 static void si_vertex_color_clamping(struct si_shader_context *ctx, in si_vertex_color_clamping()
513 void si_llvm_build_vs_exports(struct si_shader_context *ctx, LLVMValueRef num_export_threads, in si_llvm_build_vs_exports()
813 void si_llvm_vs_build_end(struct si_shader_context *ctx) in si_llvm_vs_build_end()
[all …]
Dsi_shader.c199 static void declare_streamout_params(struct si_shader_context *ctx, in declare_streamout_params()
259 static void declare_const_and_shader_buffers(struct si_shader_context *ctx, bool assign_params) in declare_const_and_shader_buffers()
274 static void declare_samplers_and_images(struct si_shader_context *ctx, bool assign_params) in declare_samplers_and_images()
280 static void declare_per_stage_desc_pointers(struct si_shader_context *ctx, bool assign_params) in declare_per_stage_desc_pointers()
286 static void declare_global_desc_pointers(struct si_shader_context *ctx) in declare_global_desc_pointers()
293 static void declare_vb_descriptor_input_sgprs(struct si_shader_context *ctx) in declare_vb_descriptor_input_sgprs()
315 static void declare_vs_input_vgprs(struct si_shader_context *ctx, unsigned *num_prolog_vgprs) in declare_vs_input_vgprs()
356 static void declare_vs_blit_inputs(struct si_shader_context *ctx, unsigned vs_blit_property) in declare_vs_blit_inputs()
377 static void declare_tes_input_vgprs(struct si_shader_context *ctx) in declare_tes_input_vgprs()
399 void si_init_shader_args(struct si_shader_context *ctx, bool ngg_cull_shader) in si_init_shader_args()
[all …]
Dsi_pipe.h318 struct si_shader_context;
/third_party/mesa3d/docs/relnotes/
D20.3.0.rst3355 - radeonsi: change PIPE_SHADER to MESA_SHADER (si_shader_context::type)
3359 - radeonsi: remove unused si_shader_context::type
D22.2.0.rst3824 - radeonsi: add pipe_stream_output_info into si_shader_context