|
Blender V5.0
|
#include "BLI_map.hh"#include "BLI_span.hh"#include "BLI_string_ref.hh"#include "GPU_shader.hh"#include "GPU_worker.hh"#include "gpu_shader_create_info.hh"#include "gpu_shader_interface.hh"#include <deque>#include <string>Go to the source code of this file.
Classes | |
| class | blender::gpu::Shader |
| class | blender::gpu::ShaderCompiler |
| struct | blender::gpu::LogCursor |
| struct | blender::gpu::GPULogItem |
| class | blender::gpu::GPULogParser |
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
Macros | |
| #define | DEBUG_LOG_SHADER_SRC_ON_ERROR 0 |
| #define | SOURCES_INDEX_VERSION 0 |
| #define | SOURCES_INDEX_SPECIALIZATION_CONSTANTS 1 |
Enumerations | |
| enum class | blender::gpu::Severity { blender::gpu::Unknown , blender::gpu::Warning , blender::gpu::Error , blender::gpu::Note } |
Functions | |
| blender::gpu::Shader * | immGetShader () |
Shader Debug Printf | |
| void | blender::gpu::printf_begin (Context *ctx) |
| void | blender::gpu::printf_end (Context *ctx) |
| #define DEBUG_LOG_SHADER_SRC_ON_ERROR 0 |
Definition at line 29 of file gpu_shader_private.hh.
Referenced by blender::gpu::Shader::print_log().
| #define SOURCES_INDEX_SPECIALIZATION_CONSTANTS 1 |
Definition at line 37 of file gpu_shader_private.hh.
| #define SOURCES_INDEX_VERSION 0 |
Compilation is done on a list of GLSL sources. This list contains placeholders that should be provided by the backend shader. These defines contains the locations where the backend can patch the sources.
Definition at line 36 of file gpu_shader_private.hh.
Referenced by blender::gpu::MTLShader::compute_shader_from_glsl(), blender::gpu::MTLShader::fragment_shader_from_glsl(), and blender::gpu::MTLShader::vertex_shader_from_glsl().
| blender::gpu::Shader * immGetShader | ( | ) |
Definition at line 81 of file gpu_immediate.cc.
References imm.
Referenced by GPU_batch_program_set_imm_shader().