/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_internal.h | 44 struct si_shader_context { struct 157 static inline struct si_shader_context *si_shader_context_from_abi(struct ac_shader_abi *abi) in si_shader_context_from_abi() argument 159 return container_of(abi, struct si_shader_context, abi); in si_shader_context_from_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 *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_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() 153 static LLVMValueRef force_write_compress_off(struct si_shader_context *ctx, LLVMValueRef rsrc) in force_write_compress_off() 164 static LLVMValueRef fixup_image_desc(struct si_shader_context *ctx, LLVMValueRef rsrc, in fixup_image_desc() 179 static LLVMValueRef si_load_image_desc(struct si_shader_context *ctx, LLVMValueRef list, in si_load_image_desc() 207 static LLVMValueRef si_load_sampler_desc(struct si_shader_context *ctx, LLVMValueRef list, in si_load_sampler_desc() 250 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_nir_load_sampler_desc() [all …]
|
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() 90 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_nir_load_input_gs() 102 static void si_set_es_return_value_for_gs(struct si_shader_context *ctx) in si_set_es_return_value_for_gs() 137 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_llvm_emit_es_epilogue() 192 static LLVMValueRef si_get_gs_wave_id(struct si_shader_context *ctx) in si_get_gs_wave_id() 200 static void emit_gs_epilogue(struct si_shader_context *ctx) in emit_gs_epilogue() 218 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_llvm_emit_gs_epilogue() 229 struct si_shader_context *ctx = si_shader_context_from_abi(abi); in si_llvm_emit_vertex() [all …]
|
D | si_shader_llvm.c | 128 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() 195 void si_llvm_create_main_func(struct si_shader_context *ctx, bool ngg_cull_shader) in si_llvm_create_main_func() 249 void si_llvm_optimize_module(struct si_shader_context *ctx) in si_llvm_optimize_module() 260 void si_llvm_dispose(struct si_shader_context *ctx) in si_llvm_dispose() 270 LLVMValueRef si_buffer_load_const(struct si_shader_context *ctx, LLVMValueRef resource, in si_buffer_load_const() 277 void si_llvm_build_ret(struct si_shader_context *ctx, LLVMValueRef ret) in si_llvm_build_ret() 285 LLVMValueRef si_insert_input_ret(struct si_shader_context *ctx, LLVMValueRef ret, in si_insert_input_ret() 291 LLVMValueRef si_insert_input_ret_float(struct si_shader_context *ctx, LLVMValueRef ret, in si_insert_input_ret_float() 300 LLVMValueRef si_insert_input_ptr(struct si_shader_context *ctx, LLVMValueRef ret, in si_insert_input_ptr() [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() 252 static LLVMValueRef get_color_32bit(struct si_shader_context *ctx, unsigned color_type, in get_color_32bit() 273 static void si_llvm_init_ps_export_args(struct si_shader_context *ctx, LLVMValueRef *values, in si_llvm_init_ps_export_args() [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() 77 static LLVMValueRef ngg_get_vertices_per_prim(struct si_shader_context *ctx, unsigned *num_vertices) in ngg_get_vertices_per_prim() 124 void gfx10_ngg_build_sendmsg_gs_alloc_req(struct si_shader_context *ctx) in gfx10_ngg_build_sendmsg_gs_alloc_req() 135 void gfx10_ngg_build_export_prim(struct si_shader_context *ctx, LLVMValueRef user_edgeflags[3], in gfx10_ngg_build_export_prim() [all …]
|
D | si_shader_llvm_vs.c | 31 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() 322 void si_llvm_emit_streamout(struct si_shader_context *ctx, struct si_shader_output_values *outputs, in si_llvm_emit_streamout() 392 static void si_llvm_emit_clipvertex(struct si_shader_context *ctx, struct ac_export_args *pos, in si_llvm_emit_clipvertex() 437 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_prepare_param_exports(struct si_shader_context *ctx, in si_prepare_param_exports() 508 static void si_vertex_color_clamping(struct si_shader_context *ctx, in si_vertex_color_clamping() 569 void si_llvm_build_vs_exports(struct si_shader_context *ctx, in si_llvm_build_vs_exports() [all …]
|
D | si_shader.c | 172 static void declare_streamout_params(struct si_shader_context *ctx, in declare_streamout_params() 232 static void declare_const_and_shader_buffers(struct si_shader_context *ctx, bool assign_params) in declare_const_and_shader_buffers() 247 static void declare_samplers_and_images(struct si_shader_context *ctx, bool assign_params) in declare_samplers_and_images() 253 static void declare_per_stage_desc_pointers(struct si_shader_context *ctx, bool assign_params) in declare_per_stage_desc_pointers() 259 static void declare_global_desc_pointers(struct si_shader_context *ctx) in declare_global_desc_pointers() 266 static void declare_vs_specific_input_sgprs(struct si_shader_context *ctx) in declare_vs_specific_input_sgprs() 276 static void declare_vb_descriptor_input_sgprs(struct si_shader_context *ctx) in declare_vb_descriptor_input_sgprs() 298 static void declare_vs_input_vgprs(struct si_shader_context *ctx, unsigned *num_prolog_vgprs) in declare_vs_input_vgprs() 334 static void declare_vs_blit_inputs(struct si_shader_context *ctx, unsigned vs_blit_property) in declare_vs_blit_inputs() 355 static void declare_tes_input_vgprs(struct si_shader_context *ctx) in declare_tes_input_vgprs() [all …]
|
D | si_pipe.h | 277 struct si_shader_context;
|
/third_party/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
|