Blender V5.0
gpu_shader_dependency_private.hh File Reference

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 PrintfFormatblender::gpu::shader::gpu_shader_dependency_get_printf_format (uint32_t format_hash)
Vector< StringRefNullblender::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.

Detailed Description

Shader source dependency builder that make possible to support #include directive inside the shader files.

Definition in file gpu_shader_dependency_private.hh.

Function Documentation

◆ gpu_shader_dependency_exit()

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().

◆ gpu_shader_dependency_init()