MCPcopy Create free account

hub / github.com/Sheldonfrith/bevy_gpu_compute / functions

Functions428 in github.com/Sheldonfrith/bevy_gpu_compute

↓ 1 callersMethoddelete
spawns all components needed for the task to run
bevy_gpu_compute/src/system_params/task_deleter.rs:17
↓ 1 callersFunctiondispatch_to_gpu
( task: &mut BevyGpuComputeTask, render_device: &RenderDevice, render_queue: &RenderQueue, )
bevy_gpu_compute/src/task/dispatch/dispatch_to_gpu.rs:4
↓ 1 callersMethodentry_point_function_name
(&self)
bevy_gpu_compute/src/task/task_components/configuration/wgsl_code.rs:48
↓ 1 callersMethodexecute
(&self, input: &mut CompilationUnit)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/compiler_phase.rs:7
↓ 1 callersFunctionexpr_to_wgsl
if none then no mutation is needed
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/expr.rs:20
↓ 1 callersFunctionextract_constants
( rust_module_transformed_for_gpu: &ItemMod, custom_types: &Vec<CustomType>, )
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/constants.rs:12
↓ 1 callersFunctionextract_helper_functions
( rust_module_transformed_for_gpu: &ItemMod, custom_types: &Vec<CustomType>, )
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/helper_functions.rs:8
↓ 1 callersFunctiongenerate_helper_types_inputs_and_outputs_for_wgsl_module_def
( custom_types: &Vec<CustomType>, wgsl_module_def: &mut WgslShaderModuleUserPortion, )
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/divide_custom_types.rs:9
↓ 1 callersFunctiongenerate_required_imports
()
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/generate_required_imports.rs:4
↓ 1 callersFunctiongenerate_shader_module_object
( wgsl_shader_module: &WgslShaderModuleUserPortion, )
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/shader_module_object.rs:7
↓ 1 callersFunctiongenerate_unaltered_module
make a module that is not intended to be viewed or accessed just to allow the rust compiler to run and find any potential errors in the original code
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/unaltered_module.rs:6
↓ 1 callersFunctiongenerate_user_facing_module
( wgsl_shader_module: &mut WgslShaderModuleUserPortion, rust_module_for_cpu: &ItemMod, builders: &
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/user_facing_module.rs:13
↓ 1 callersMethodget_bind_group_layouts
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:144
↓ 1 callersFunctionget_fields_init_fields_and_converters
( custom_types: &[CustomType], )
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/output_data_builder.rs:36
↓ 1 callersFunctionget_gpu_output_as_bytes_vec
( render_device: &RenderDevice, render_queue: &RenderQueue, output_buffer: &Buffer, staging_bu
bevy_gpu_compute/src/task/outputs/helpers/get_gpu_output_as_bytes_vec.rs:5
↓ 1 callersFunctionget_gpu_output_counter_value
( render_device: &RenderDevice, render_queue: &RenderQueue, output_buffer: &Buffer, staging_bu
bevy_gpu_compute/src/task/outputs/helpers/get_gpu_output_counter_value.rs:10
↓ 1 callersMethodget_lengths
(&self)
bevy_gpu_compute_core/src/rust/type_erased_array_input_data.rs:34
↓ 1 callersMethodget_map
(&self)
bevy_gpu_compute_core/src/rust/max_output_lengths.rs:40
↓ 1 callersFunctionget_methods
(custom_types: &[CustomType])
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/config_input_data_builder.rs:43
↓ 1 callersFunctionget_methods
(custom_types: &[CustomType])
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/max_output_lengths_builder.rs:40
↓ 1 callersFunctionget_methods
(custom_types: &[CustomType])
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/input_data_builder.rs:45
↓ 1 callersMethodget_pipeline_consts
(&self)
bevy_gpu_compute/src/task/lib.rs:153
↓ 1 callersMethodget_pipeline_layout
(&self, bind_group_layout: &BindGroupLayout)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:136
↓ 1 callersFunctionget_single_output_type_metadata
( binding_num: &mut u32, binding_numbers_by_variable_name: &mut HashMap<String, u32>, type_name: &
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/types_for_rust_usage.rs:90
↓ 1 callersFunctionget_special_function_category
(call: &ExprCall)
bevy_gpu_compute_macro/src/pipeline/phases/wgsl_helper_transformer/parse.rs:10
↓ 1 callersFunctionget_special_function_generic_type
( call: &'a ExprCall, custom_types: &'a [CustomType], )
bevy_gpu_compute_macro/src/pipeline/phases/wgsl_helper_transformer/parse.rs:26
↓ 1 callersFunctionget_special_function_method
(call: &ExprCall)
bevy_gpu_compute_macro/src/pipeline/phases/wgsl_helper_transformer/parse.rs:18
↓ 1 callersMethodindex
(&self)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/custom_type_idents.rs:49
↓ 1 callersMethodinput
(&self)
bevy_gpu_compute/src/task/task_components/data.rs:22
↓ 1 callersFunctioninput_array_types
( binding_num_counter: &mut u32, binding_numbers_by_variable_name: &mut HashMap<String, u32>, wgsl
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/types_for_rust_usage.rs:116
↓ 1 callersFunctionmain
(iter_pos: WgslIterationPosition)
bevy_gpu_compute_macro/tests/components.rs:30
↓ 1 callersFunctionmake_types_pod
(input: &mut syn::ItemMod)
bevy_gpu_compute_macro/src/pipeline/phases/module_for_rust_usage_cleaner/make_types_pod.rs:3
↓ 1 callersFunctionmake_types_public
(input: &mut syn::ItemMod)
bevy_gpu_compute_macro/src/pipeline/phases/module_for_rust_usage_cleaner/make_types_public.rs:3
↓ 1 callersMethodmax_output_bytes
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:53
↓ 1 callersFunctionmutate_main_function_for_cpu_usage
( wgsl_shader_module_parsed: &WgslShaderModuleUserPortion, rust_module_for_cpu: &mut syn::ItemMod, )
bevy_gpu_compute_macro/src/pipeline/phases/module_for_rust_usage_cleaner/alter_main_function_for_cpu_usage.rs:5
↓ 1 callersMethodnum_dimmensions
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/gpu_workgroup_sizes.rs:15
↓ 1 callersMethodoutput
(&self)
bevy_gpu_compute/src/task/task_components/data.rs:25
↓ 1 callersFunctionoutput_array_types
( binding_num_counter: &mut u32, binding_numbers_by_variable_name: &mut HashMap<String, u32>, shad
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/types_for_rust_usage.rs:145
↓ 1 callersMethodoutput_mut
(&mut self)
bevy_gpu_compute/src/task/task_components/data.rs:28
↓ 1 callersMethodoutputs_mut
make sure you are actually changing the max lengths when you call this, otherwise the config version will be updated and cause unecessary recalculatio
bevy_gpu_compute/src/task/task_components/configuration/lib.rs:56
↓ 1 callersFunctionparse_const_assignment
( constant: &ItemConst, custom_types: &Vec<CustomType>, )
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/constants.rs:43
↓ 1 callersFunctionparse_fn
(func: &ItemFn, custom_types: &Vec<CustomType>)
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/helper_functions.rs:43
↓ 1 callersFunctionparse_main_fn
(func: &ItemFn, custom_types: &Vec<CustomType>)
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/main_function.rs:56
↓ 1 callersFunctionparse_main_function
0: for gpu, 1: for cpu
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/main_function.rs:10
↓ 1 callersFunctionparse_shader_module_for_gpu
This will also change custom_types
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/lib.rs:11
↓ 1 callersFunctionpath_type_to_wgsl
(type_path: &mut syn::TypePath, custom_types: &[CustomType])
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/type.rs:16
↓ 1 callersMethodpipeline_cache
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:59
↓ 1 callersMethodpipeline_layout
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:74
↓ 1 callersFunctionprocess_string_recursively
(input: &str)
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/wgsl_builtin_constructors.rs:141
↓ 1 callersFunctionprocess_wgsl_helper
(helper_method: WgslHelperMethod, in_main_func: bool)
bevy_gpu_compute_macro/src/pipeline/phases/wgsl_helper_transformer/run.rs:84
↓ 1 callersFunctionprocess_wgsl_helper_for_cpu
(helper_method: WgslHelperMethod)
bevy_gpu_compute_macro/src/pipeline/phases/wgsl_helper_transformer/run.rs:98
↓ 1 callersFunctionread_gpu_output_counts
( task: &mut BevyGpuComputeTask, render_device: &RenderDevice, render_queue: &RenderQueue, )
bevy_gpu_compute/src/task/outputs/read_gpu_output_counts.rs:16
↓ 1 callersFunctionread_gpu_output_counts_single_output_type
( render_device: &RenderDevice, render_queue: &RenderQueue, count_buffer: &Buffer, count_stagi
bevy_gpu_compute/src/task/outputs/read_gpu_output_counts.rs:44
↓ 1 callersFunctionread_gpu_outputs
* We put this all into a single system because we cannot pass the buffer slice around easily. * */
bevy_gpu_compute/src/task/outputs/read_gpu_task_outputs.rs:16
↓ 1 callersFunctionremove_attributes
whenever `#[` is detected, remove everything up to the next `]` using regex, also remove the hash+square brackets
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/remove_attributes.rs:2
↓ 1 callersFunctionremove_internal_attributes
(input: &mut syn::ItemMod)
bevy_gpu_compute_macro/src/pipeline/phases/module_for_rust_usage_cleaner/remove_internal_attributes.rs:9
↓ 1 callersFunctionreplace_let_mut_with_var
since rust does not allow "var" instead of let we need to work with the final string, not the ast. replace all "let mut" with "var", using regex, to a
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/local_var.rs:5
↓ 1 callersMethodrust_module_for_gpu
(&self)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:31
↓ 1 callersMethodset_compiled_tokens
(&mut self, compiled_tokens: TokenStream)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:61
↓ 1 callersMethodset_config_input
(&mut self, config_input: TypeErasedConfigInputData)
bevy_gpu_compute/src/task/task_components/data.rs:34
↓ 1 callersMethodset_config_inputs
This queues a mutation of the task. You still MUST call `GpuTaskRunner::run_commands` for this to take effect.
bevy_gpu_compute/src/task/commands.rs:51
↓ 1 callersMethodset_input_and_check_lengths_changed
returns `true` if lengths have changed, `false` otherwise
bevy_gpu_compute/src/task/task_components/data.rs:48
↓ 1 callersMethodset_rust_module_for_gpu
(&mut self, rust_module_for_gpu: syn::ItemMod)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:55
↓ 1 callersMethodset_typesafe_buffer_builders
(&mut self, typesafe_buffer_builders: TokenStream)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:80
↓ 1 callersMethodset_wgsl_module_user_portion
( &mut self, wgsl_module_user_portion: WgslShaderModuleUserPortion, )
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:67
↓ 1 callersMethodsetup_static_runtime_state
(&mut self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:130
↓ 1 callersMethodshader_module
(&self)
bevy_gpu_compute/src/task/task_components/configuration/wgsl_code.rs:51
↓ 1 callersFunctionsingle_field_init_field_and_converter
( custom_type_name: CustomTypeIdents, )
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/output_data_builder.rs:45
↓ 1 callersFunctionsingle_method
(custom_type_name: CustomTypeIdents)
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/config_input_data_builder.rs:50
↓ 1 callersFunctionsingle_method
(custom_type_name: CustomTypeIdents)
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/max_output_lengths_builder.rs:47
↓ 1 callersFunctionsingle_method
(custom_type_name: CustomTypeIdents)
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/input_data_builder.rs:52
↓ 1 callersMethodto_usize
(&self)
bevy_gpu_compute_core/src/rust/iter_space_dimmensions.rs:8
↓ 1 callersFunctiontype_def_to_wgsl
(type_def: &ItemType)
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/type_def.rs:29
↓ 1 callersMethodtypesafe_buffer_builders
(&self)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:83
↓ 1 callersFunctionuniform_types
( binding_num_counter: &mut u32, binding_numbers_by_variable_name: &mut HashMap<String, u32>, wgsl
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/types_for_rust_usage.rs:53
↓ 1 callersMethodupdate_and_return_new_hash_if_changed
(&mut self, other: Self)
bevy_gpu_compute/src/task/task_components/input_lengths.rs:33
↓ 1 callersFunctionupdate_config_input_buffers
(task: &mut BevyGpuComputeTask, render_device: &RenderDevice)
bevy_gpu_compute/src/task/buffers/create_config_input_buffers.rs:9
↓ 1 callersFunctionupdate_input_buffers
(task: &mut BevyGpuComputeTask, render_device: &RenderDevice)
bevy_gpu_compute/src/task/buffers/create_input_buffers.rs:9
↓ 1 callersFunctionupdate_output_buffers
(task: &mut BevyGpuComputeTask, render_device: &RenderDevice)
bevy_gpu_compute/src/task/buffers/create_output_buffers.rs:6
↓ 1 callersMethodupdate_runtime_state_on_iter_space_or_max_output_lengths_change
(&mut self)
bevy_gpu_compute/src/task/lib.rs:189
↓ 1 callersMethodvalid_outside_main
(&self)
bevy_gpu_compute_macro/src/pipeline/phases/wgsl_helper_transformer/to_expanded_format.rs:19
↓ 1 callersFunctionvalidate_main_function
(function: &ItemFn)
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/main_function.rs:98
↓ 1 callersFunctionvalidate_no_doc_comments
(original_rust_module: &syn::ItemMod)
bevy_gpu_compute_macro/src/pipeline/phases/non_mutating_tree_validation/validate_no_doc_comments.rs:4
↓ 1 callersFunctionvalidate_no_iter_pos_assignments
(original_rust_module: &syn::ItemMod)
bevy_gpu_compute_macro/src/pipeline/phases/non_mutating_tree_validation/validate_no_iter_pos_assignments.rs:4
↓ 1 callersFunctionvalidate_use_statement
(use_stmt: &ItemUse)
bevy_gpu_compute_macro/src/pipeline/phases/non_mutating_tree_validation/validate_use_statements.rs:24
↓ 1 callersFunctionvalidate_use_statements
(original_rust_module: &ItemMod)
bevy_gpu_compute_macro/src/pipeline/phases/non_mutating_tree_validation/validate_use_statements.rs:8
↓ 1 callersFunctionverify_have_enough_memory
(tasks: &Vec<&BevyGpuComputeTask>, ram_limit: &RamLimit)
bevy_gpu_compute/src/task/verify_enough_memory.rs:7
↓ 1 callersMethodvisit_block_mut
we can identify an implicit return by... must be a Stmt::Expr must NOT be a Stmt::Semi must be the last statement in the block for now we'll say it ca
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/implicit_to_explicit_return.rs:27
↓ 1 callersMethodwgsl_code
(&self, iter_space_dimmensions: IterSpaceDimmension)
bevy_gpu_compute_core/src/wgsl/shader_module/complete_shader_module.rs:16
↓ 1 callersFunctionwgsl_input_array
(_attr: TokenStream, item: TokenStream)
bevy_gpu_compute_macro/src/lib.rs:75
↓ 1 callersFunctionwgsl_output_array
(_attr: TokenStream, item: TokenStream)
bevy_gpu_compute_macro/src/lib.rs:87
↓ 1 callersMethodworkgroup_sizes
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:56
↓ 1 callersMethodx
(&self)
bevy_gpu_compute/src/task/task_components/configuration/iteration_space.rs:75
↓ 1 callersMethody
(&self)
bevy_gpu_compute/src/task/task_components/configuration/iteration_space.rs:78
↓ 1 callersMethodz
(&self)
bevy_gpu_compute/src/task/task_components/configuration/iteration_space.rs:81
Methodarrays
(&self)
bevy_gpu_compute/src/task/task_components/configuration/output_spec.rs:16
Functionassert_impl
()
bevy_gpu_compute_core/src/wgsl/user_facing_api/primitives/pod_f16.rs:119
Methodbuild
(&self, app: &mut App)
bevy_gpu_compute/src/plugin.rs:25
Functioncan_extract_types
()
bevy_gpu_compute_macro/tests/components.rs:213
Functioncan_use_with_bytemuck
()
bevy_gpu_compute_core/src/wgsl/user_facing_api/primitives/pod_f16.rs:100
← previousnext →101–200 of 428, ranked by callers