|
Blender V4.5
|
Go to the source code of this file.
Classes | |
| struct | blender::gpu::shader::PrintfFormat |
| struct | blender::gpu::shader::PrintfFormat::Block |
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
| namespace | blender::gpu::shader |
Functions | |
| void | gpu_shader_dependency_init () |
| void | gpu_shader_dependency_exit () |
| BuiltinBits | blender::gpu::shader::gpu_shader_dependency_get_builtins (const StringRefNull shader_source_name) |
| bool | blender::gpu::shader::gpu_shader_dependency_has_printf () |
| bool | blender::gpu::shader::gpu_shader_dependency_force_gpu_print_injection () |
| const PrintfFormat & | blender::gpu::shader::gpu_shader_dependency_get_printf_format (uint32_t format_hash) |
| Vector< StringRefNull > | blender::gpu::shader::gpu_shader_dependency_get_resolved_source (const StringRefNull shader_source_name) |
| StringRefNull | blender::gpu::shader::gpu_shader_dependency_get_source (const StringRefNull shader_source_name) |
| StringRefNull | blender::gpu::shader::gpu_shader_dependency_get_filename_from_source_string (StringRef source_string) |
| Find the name of the file from which the given string was generated. | |
Shader source dependency builder that make possible to support #include directive inside the shader files.
Definition in file gpu_shader_dependency_private.hh.
| void gpu_shader_dependency_exit | ( | ) |
Definition at line 458 of file gpu_shader_dependency.cc.
References g_formats, g_functions, g_sources, gpu_shader_dependency_exit(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by GPU_exit(), and gpu_shader_dependency_exit().
| void gpu_shader_dependency_init | ( | ) |
Definition at line 388 of file gpu_shader_dependency.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), BLI_assert_msg, blender::StringRefNull::c_str(), force_printf_injection, g_formats, g_functions, g_sources, blender::gpu::GCaps, gpu_shader_dependency_init(), blender::gpu::GPUSource::GPUSource(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::gpu::GPUCapabilities::line_directive_workaround, openSubdiv_getGLSLPatchBasisSource(), UNUSED_VARS_NDEBUG, blender::gpu::shader::USE_PRINTF, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by GPU_init(), and gpu_shader_dependency_init().