Blender V4.3
gpu_shader_log.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_dynstr.h"
#include "BLI_string.h"
#include "BLI_string_utils.hh"
#include "BLI_vector.hh"
#include "GPU_storage_buffer.hh"
#include "gpu_context_private.hh"
#include "gpu_shader_dependency_private.hh"
#include "gpu_shader_private.hh"
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Macros

Debug functions
#define DEBUG_CONTEXT_LINES   0
 
#define DEBUG_DEPENDENCIES   0
 

Functions

Shader Debug Printf
void blender::gpu::printf_begin (Context *ctx)
 
void blender::gpu::printf_end (Context *ctx)
 

Variables

static CLG_LogRef LOG = {"gpu.shader"}
 

Macro Definition Documentation

◆ DEBUG_CONTEXT_LINES

#define DEBUG_CONTEXT_LINES   0

Definition at line 33 of file gpu_shader_log.cc.

Referenced by blender::gpu::Shader::print_log().

◆ DEBUG_DEPENDENCIES

#define DEBUG_DEPENDENCIES   0

Print dependencies sources list before the shader report. Useful to debug include order or missing dependencies.

Definition at line 38 of file gpu_shader_log.cc.

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"gpu.shader"}
static

Definition at line 24 of file gpu_shader_log.cc.