|
Blender V4.5
|
#include "GPU_shader.hh"Go to the source code of this file.
Functions | |
| void | gpu_shader_create_info_init () |
| void | gpu_shader_create_info_exit () |
| bool | gpu_shader_create_info_compile (const char *name_starts_with_filter) |
| const GPUShaderCreateInfo * | gpu_shader_create_info_get (const char *info_name) |
Descriptor type used to define shader structure, resources and interfaces.
Some rule of thumb:
Definition in file gpu_shader_create_info_private.hh.
| bool gpu_shader_create_info_compile | ( | const char * | name_starts_with_filter | ) |
Definition at line 545 of file gpu_shader_create_info.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), batch, blender::StringRefNull::c_str(), blender::gpu::shader::g_create_infos, GPU_backend_get_type(), GPU_BACKEND_METAL, GPU_geometry_shader_support(), GPU_shader_batch_create_from_infos(), GPU_shader_batch_finalize(), GPU_shader_free(), info, input, interface, name, ShaderInput::name(), blender::gpu::shader::ShaderCreateInfo::name_, printf, result, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by GPU_shader_compile_static(), and blender::gpu::tests::test_static_shaders().
| void gpu_shader_create_info_exit | ( | ) |
Definition at line 532 of file gpu_shader_create_info.cc.
References blender::gpu::shader::g_create_infos, blender::gpu::shader::g_interfaces, value, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by GPU_exit().
| const GPUShaderCreateInfo * gpu_shader_create_info_get | ( | const char * | info_name | ) |
Runtime created shader information is not registered in the dictionary and cannot be searched.
Definition at line 642 of file gpu_shader_create_info.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::gpu::shader::g_create_infos, info, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), and printf.
Referenced by blender::gpu::shader::ShaderCreateInfo::finalize(), GPU_shader_create_from_info_name(), GPU_shader_create_info_get(), and blender::gpu::tests::ShaderSpecializationConst::init_shader().
| void gpu_shader_create_info_init | ( | ) |
Definition at line 456 of file gpu_shader_create_info.cc.
References blender::gpu::shader::g_create_infos, blender::gpu::shader::g_interfaces, blender::gpu::shader::gpu_shader_dependency_force_gpu_print_injection(), blender::gpu::shader::gpu_shader_dependency_get_builtins(), GPU_shader_draw_parameters_support(), GPU_stencil_clasify_buffer_workaround(), info, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by GPU_init().