aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/opt_dead_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/opt_dead_functions.cpp')
-rw-r--r--mesalib/src/glsl/opt_dead_functions.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/glsl/opt_dead_functions.cpp b/mesalib/src/glsl/opt_dead_functions.cpp
index f50349395..cd3b2c12e 100644
--- a/mesalib/src/glsl/opt_dead_functions.cpp
+++ b/mesalib/src/glsl/opt_dead_functions.cpp
@@ -32,6 +32,8 @@
#include "ir_expression_flattening.h"
#include "glsl_types.h"
+namespace {
+
class signature_entry : public exec_node
{
public:
@@ -67,6 +69,7 @@ public:
void *mem_ctx;
};
+} /* unnamed namespace */
signature_entry *
ir_dead_functions_visitor::get_signature_entry(ir_function_signature *sig)