diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-02-06 01:07:53 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-02-06 01:08:49 +0300 |
commit | 3a90f93507a344d2b6eb3ae631371348ff977047 (patch) | |
tree | 7bf5834c97c153ce0f9109547c72ce84f9c65987 /source/blender/gpu/GPU_debug.h | |
parent | f2087dfc695334ff73d956aaf87d987b77b2e765 (diff) |
GPU: Debug: Avoid double printing of compilation issues
To avoid that, we simply filter using a debug group.
Diffstat (limited to 'source/blender/gpu/GPU_debug.h')
-rw-r--r-- | source/blender/gpu/GPU_debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_debug.h b/source/blender/gpu/GPU_debug.h index 9796ac63272..18a35f9c71a 100644 --- a/source/blender/gpu/GPU_debug.h +++ b/source/blender/gpu/GPU_debug.h @@ -31,6 +31,8 @@ extern "C" { #endif +#define GPU_DEBUG_SHADER_COMPILATION_GROUP "Shader Compilation" + void GPU_debug_group_begin(const char *name); void GPU_debug_group_end(void); /** |