/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_internal.h | 46 struct si_shader_context { struct 191 static inline struct si_shader_context *si_shader_context_from_abi(struct ac_shader_abi *abi) in si_shader_context_from_abi() argument 193 struct si_shader_context *ctx = NULL; in si_shader_context_from_abi() 207 void si_create_function(struct si_shader_context *ctx, bool ngg_cull_shader); 210 void gfx10_ngg_build_sendmsg_gs_alloc_req(struct si_shader_context *ctx); 211 void gfx10_ngg_build_export_prim(struct si_shader_context *ctx, LLVMValueRef user_edgeflags[3], 216 void gfx10_ngg_gs_emit_vertex(struct si_shader_context *ctx, unsigned stream, LLVMValueRef *addrs); 217 void gfx10_ngg_gs_emit_prologue(struct si_shader_context *ctx); 218 void gfx10_ngg_gs_emit_epilogue(struct si_shader_context *ctx); 227 void si_llvm_context_init(struct si_shader_context *ctx, struct si_screen *sscreen, [all …]
|
D | si_shader_llvm_tess.c | 29 static LLVMValueRef get_rel_patch_id(struct si_shader_context *ctx) in get_rel_patch_id() 65 static LLVMValueRef get_tcs_in_patch_stride(struct si_shader_context *ctx) in get_tcs_in_patch_stride() 70 static unsigned get_tcs_out_vertex_dw_stride_constant(struct si_shader_context *ctx) in get_tcs_out_vertex_dw_stride_constant() 80 static LLVMValueRef get_tcs_out_vertex_dw_stride(struct si_shader_context *ctx) in get_tcs_out_vertex_dw_stride() 87 static LLVMValueRef get_tcs_out_patch_stride(struct si_shader_context *ctx) in get_tcs_out_patch_stride() 100 static LLVMValueRef get_tcs_out_patch0_offset(struct si_shader_context *ctx) in get_tcs_out_patch0_offset() 106 static LLVMValueRef get_tcs_out_patch0_patch_data_offset(struct si_shader_context *ctx) in get_tcs_out_patch0_patch_data_offset() 112 static LLVMValueRef get_tcs_in_current_patch_offset(struct si_shader_context *ctx) in get_tcs_in_current_patch_offset() 120 static LLVMValueRef get_tcs_out_current_patch_offset(struct si_shader_context *ctx) in get_tcs_out_current_patch_offset() 129 static LLVMValueRef get_tcs_out_current_patch_data_offset(struct si_shader_context *ctx) in get_tcs_out_current_patch_data_offset() [all …]
|
D | si_shader_llvm.c | 129 void si_llvm_context_init(struct si_shader_context *ctx, struct si_screen *sscreen, in si_llvm_context_init() 140 void si_llvm_create_func(struct si_shader_context *ctx, const char *name, LLVMTypeRef *return_types, in si_llvm_create_func() 195 void si_llvm_optimize_module(struct si_shader_context *ctx) in si_llvm_optimize_module() 206 void si_llvm_dispose(struct si_shader_context *ctx) in si_llvm_dispose() 216 LLVMValueRef si_buffer_load_const(struct si_shader_context *ctx, LLVMValueRef resource, in si_buffer_load_const() 222 void si_llvm_build_ret(struct si_shader_context *ctx, LLVMValueRef ret) in si_llvm_build_ret() 230 LLVMValueRef si_insert_input_ret(struct si_shader_context *ctx, LLVMValueRef ret, in si_insert_input_ret() 236 LLVMValueRef si_insert_input_ret_float(struct si_shader_context *ctx, LLVMValueRef ret, in si_insert_input_ret_float() 245 LLVMValueRef si_insert_input_ptr(struct si_shader_context *ctx, LLVMValueRef ret, in si_insert_input_ptr() 254 LLVMValueRef si_prolog_get_rw_buffers(struct si_shader_context *ctx) in si_prolog_get_rw_buffers() [all …]
|
D | si_shader_llvm_resources.c | 33 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() 93 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in load_ubo() 111 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in load_ssbo() 138 static LLVMValueRef force_dcc_off(struct si_shader_context *ctx, LLVMValueRef rsrc) in force_dcc_off() 155 static LLVMValueRef si_load_image_desc(struct si_shader_context *ctx, LLVMValueRef list, in si_load_image_desc() 182 static LLVMValueRef si_load_sampler_desc(struct si_shader_context *ctx, LLVMValueRef list, in si_load_sampler_desc() 225 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_nir_load_sampler_desc() 302 void si_llvm_init_resource_callbacks(struct si_shader_context *ctx) in si_llvm_init_resource_callbacks()
|
D | si_shader_llvm_gs.c | 30 LLVMValueRef si_is_es_thread(struct si_shader_context *ctx) in si_is_es_thread() 37 LLVMValueRef si_is_gs_thread(struct si_shader_context *ctx) in si_is_gs_thread() 48 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_llvm_load_input_gs() 103 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_nir_load_input_gs() 115 static void si_set_es_return_value_for_gs(struct si_shader_context *ctx) in si_set_es_return_value_for_gs() 151 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_llvm_emit_es_epilogue() 205 static LLVMValueRef si_get_gs_wave_id(struct si_shader_context *ctx) in si_get_gs_wave_id() 213 static void emit_gs_epilogue(struct si_shader_context *ctx) in emit_gs_epilogue() 232 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_llvm_emit_gs_epilogue() 243 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_llvm_emit_vertex() [all …]
|
D | si_shader_llvm_ps.c | 29 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_mask_in() 42 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in load_sample_position() 62 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_nir_emit_fbfetch() 116 static LLVMValueRef si_build_fs_interp(struct si_shader_context *ctx, unsigned attr_index, in si_build_fs_interp() 142 static void interp_fs_color(struct si_shader_context *ctx, unsigned input_index, in interp_fs_color() 200 static void si_alpha_test(struct si_shader_context *ctx, LLVMValueRef alpha) in si_alpha_test() 222 static LLVMValueRef si_scale_alpha_by_sample_mask(struct si_shader_context *ctx, LLVMValueRef alpha, in si_scale_alpha_by_sample_mask() 256 static LLVMValueRef get_color_32bit(struct si_shader_context *ctx, unsigned color_type, in get_color_32bit() 277 static void si_llvm_init_ps_export_args(struct si_shader_context *ctx, LLVMValueRef *values, in si_llvm_init_ps_export_args() [all …]
|
D | si_shader_llvm_vs.c | 30 static LLVMValueRef unpack_sint16(struct si_shader_context *ctx, LLVMValueRef i32, unsigned index) in unpack_sint16() 41 static void load_input_vs(struct si_shader_context *ctx, unsigned input_index, LLVMValueRef out[4]) in load_input_vs() 228 void si_llvm_load_vs_inputs(struct si_shader_context *ctx, struct nir_shader *nir) in si_llvm_load_vs_inputs() 244 void si_llvm_streamout_store_output(struct si_shader_context *ctx, LLVMValueRef const *so_buffers, in si_llvm_streamout_store_output() 295 void si_llvm_emit_streamout(struct si_shader_context *ctx, struct si_shader_output_values *outputs, in si_llvm_emit_streamout() 365 static void si_llvm_emit_clipvertex(struct si_shader_context *ctx, struct ac_export_args *pos, in si_llvm_emit_clipvertex() 410 static void si_llvm_init_vs_export_args(struct si_shader_context *ctx, LLVMValueRef *values, in si_llvm_init_vs_export_args() 422 static void si_export_param(struct si_shader_context *ctx, unsigned index, LLVMValueRef *values) in si_export_param() 430 static void si_build_param_exports(struct si_shader_context *ctx, in si_build_param_exports() 484 static void si_vertex_color_clamping(struct si_shader_context *ctx, in si_vertex_color_clamping() [all …]
|
D | gfx10_shader_ngg.c | 31 static LLVMValueRef get_wave_id_in_tg(struct si_shader_context *ctx) in get_wave_id_in_tg() 36 static LLVMValueRef get_tgsize(struct si_shader_context *ctx) in get_tgsize() 41 static LLVMValueRef get_thread_id_in_tg(struct si_shader_context *ctx) in get_thread_id_in_tg() 50 static LLVMValueRef ngg_get_vtx_cnt(struct si_shader_context *ctx) in ngg_get_vtx_cnt() 55 static LLVMValueRef ngg_get_prim_cnt(struct si_shader_context *ctx) in ngg_get_prim_cnt() 60 static LLVMValueRef ngg_get_ordered_id(struct si_shader_context *ctx) in ngg_get_ordered_id() 65 static LLVMValueRef ngg_get_query_buf(struct si_shader_context *ctx) in ngg_get_query_buf() 73 static LLVMValueRef ngg_get_initial_edgeflag(struct si_shader_context *ctx, unsigned index) in ngg_get_initial_edgeflag() 88 static LLVMValueRef ngg_get_vertices_per_prim(struct si_shader_context *ctx, unsigned *num_vertices) in ngg_get_vertices_per_prim() 132 void gfx10_ngg_build_sendmsg_gs_alloc_req(struct si_shader_context *ctx) in gfx10_ngg_build_sendmsg_gs_alloc_req() [all …]
|
D | si_shader.c | 166 static void declare_streamout_params(struct si_shader_context *ctx, in declare_streamout_params() 226 static void declare_const_and_shader_buffers(struct si_shader_context *ctx, bool assign_params) in declare_const_and_shader_buffers() 241 static void declare_samplers_and_images(struct si_shader_context *ctx, bool assign_params) in declare_samplers_and_images() 247 static void declare_per_stage_desc_pointers(struct si_shader_context *ctx, bool assign_params) in declare_per_stage_desc_pointers() 253 static void declare_global_desc_pointers(struct si_shader_context *ctx) in declare_global_desc_pointers() 260 static void declare_vs_specific_input_sgprs(struct si_shader_context *ctx) in declare_vs_specific_input_sgprs() 270 static void declare_vb_descriptor_input_sgprs(struct si_shader_context *ctx) in declare_vb_descriptor_input_sgprs() 292 static void declare_vs_input_vgprs(struct si_shader_context *ctx, unsigned *num_prolog_vgprs) in declare_vs_input_vgprs() 328 static void declare_vs_blit_inputs(struct si_shader_context *ctx, unsigned vs_blit_property) in declare_vs_blit_inputs() 349 static void declare_tes_input_vgprs(struct si_shader_context *ctx) in declare_tes_input_vgprs() [all …]
|
D | si_compute_prim_discard.c | 228 static LLVMValueRef si_build_ds_ordered_op(struct si_shader_context *ctx, const char *opcode, in si_build_ds_ordered_op() 251 static LLVMValueRef si_expand_32bit_pointer(struct si_shader_context *ctx, LLVMValueRef ptr) in si_expand_32bit_pointer() 261 struct si_shader_context *ctx; 267 static void si_enter_thread0_section(struct si_shader_context *ctx, in si_enter_thread0_section() 289 struct si_shader_context *ctx = section->ctx; in si_exit_thread0_section() 300 void si_build_prim_discard_compute_shader(struct si_shader_context *ctx) in si_build_prim_discard_compute_shader()
|
D | si_pipe.h | 252 struct si_shader_context; 1457 void si_build_prim_discard_compute_shader(struct si_shader_context *ctx);
|
/external/mesa3d/docs/relnotes/ |
D | 20.3.0.rst | 3355 - radeonsi: change PIPE_SHADER to MESA_SHADER (si_shader_context::type) 3359 - radeonsi: remove unused si_shader_context::type
|