|
Blender V5.0
|
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, const shader::GeneratedSourceList &generated_sources, const StringRefNull shader_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 529 of file gpu_shader_dependency.cc.
References g_formats, g_functions, and g_sources.
Referenced by GPU_exit().
| void gpu_shader_dependency_init | ( | ) |
Definition at line 471 of file gpu_shader_dependency.cc.
References BLI_assert_msg, blender::StringRefNull::c_str(), force_printf_injection, g_formats, g_functions, g_sources, openSubdiv_getGLSLPatchBasisSource(), UNUSED_VARS_NDEBUG, and blender::gpu::shader::USE_PRINTF.
Referenced by GPU_init().