Commit: fcc1166821804ab257660a5b18bc6038e67ba2e1
Author: Miguel Pozo
Date:   Fri Feb 3 17:00:35 2023 +0100
Branches: master
https://developer.blender.org/rBfcc1166821804ab257660a5b18bc6038e67ba2e1

GPU: Disable verbose GLSL variable names in debug builds

GpuInput::node can be deallocated in some cases. (See T104265)
This is a temp workaround until a proper solution is implemented.

===================================================================

M       source/blender/gpu/intern/gpu_codegen.cc

===================================================================

diff --git a/source/blender/gpu/intern/gpu_codegen.cc 
b/source/blender/gpu/intern/gpu_codegen.cc
index 465a621e864..38f80760d61 100644
--- a/source/blender/gpu/intern/gpu_codegen.cc
+++ b/source/blender/gpu/intern/gpu_codegen.cc
@@ -169,7 +169,7 @@ static bool gpu_pass_is_valid(GPUPass *pass)
 /** \name Type > string conversion
  * \{ */
 
-#ifdef DEBUG
+#if 0
 #  define SRC_NAME(io, link, list, type) \
     link->node->name << "_" << io << BLI_findindex(&link->node->list, (const 
void *)link) << "_" \
                      << type

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to