aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/opt_dead_builtin_varyings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/opt_dead_builtin_varyings.cpp')
-rw-r--r--mesalib/src/glsl/opt_dead_builtin_varyings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/glsl/opt_dead_builtin_varyings.cpp b/mesalib/src/glsl/opt_dead_builtin_varyings.cpp
index 3cdd13038..7e8cd4372 100644
--- a/mesalib/src/glsl/opt_dead_builtin_varyings.cpp
+++ b/mesalib/src/glsl/opt_dead_builtin_varyings.cpp
@@ -52,6 +52,7 @@
#include "glsl_types.h"
#include "link_varyings.h"
+namespace {
/**
* This obtains detailed information about built-in varyings from shader code.
@@ -397,6 +398,7 @@ private:
ir_variable *new_fog;
};
+} /* anonymous namespace */
static void
lower_texcoord_array(exec_list *ir, const varying_info_visitor *info)