summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_vector_insert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/lower_vector_insert.cpp')
-rw-r--r--src/glsl/lower_vector_insert.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/lower_vector_insert.cpp b/src/glsl/lower_vector_insert.cpp
index 0e640cc3240..6d7cfa94262 100644
--- a/src/glsl/lower_vector_insert.cpp
+++ b/src/glsl/lower_vector_insert.cpp
@@ -27,6 +27,8 @@
using namespace ir_builder;
+namespace {
+
class vector_insert_visitor : public ir_rvalue_visitor {
public:
vector_insert_visitor(bool lower_nonconstant_index)
@@ -48,6 +50,7 @@ public:
bool lower_nonconstant_index;
};
+} /* anonymous namespace */
void
vector_insert_visitor::handle_rvalue(ir_rvalue **rv)