summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_vector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/lower_vector.cpp')
-rw-r--r--src/glsl/lower_vector.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/lower_vector.cpp b/src/glsl/lower_vector.cpp
index 0cd6909db55..9172b6af7b5 100644
--- a/src/glsl/lower_vector.cpp
+++ b/src/glsl/lower_vector.cpp
@@ -31,6 +31,8 @@
#include "ir.h"
#include "ir_rvalue_visitor.h"
+namespace {
+
class lower_vector_visitor : public ir_rvalue_visitor {
public:
lower_vector_visitor() : progress(false)
@@ -48,6 +50,8 @@ public:
bool progress;
};
+} /* anonymous namespace */
+
/**
* Determine if an IR expression tree looks like an extended swizzle
*