X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglsl%2Fopt_tree_grafting.cpp;h=25b18ea940c98246a15f84e9037f5561b940c71f;hb=0d108116bd80b757fb01a84a9f1946ef870b57b8;hp=d86eab80e504698a50c9b26a7a557f325c8e2da1;hpb=82065fa20ee3f2880a070f1f4f75509b910cedde;p=mesa.git diff --git a/src/glsl/opt_tree_grafting.cpp b/src/glsl/opt_tree_grafting.cpp index d86eab80e50..25b18ea940c 100644 --- a/src/glsl/opt_tree_grafting.cpp +++ b/src/glsl/opt_tree_grafting.cpp @@ -54,6 +54,8 @@ #include "ir_optimization.h" #include "glsl_types.h" +namespace { + static bool debug = false; class ir_tree_grafting_visitor : public ir_hierarchical_visitor { @@ -369,6 +371,8 @@ tree_grafting_basic_block(ir_instruction *bb_first, } } +} /* unnamed namespace */ + /** * Does a copy propagation pass on the code present in the instruction stream. */