aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/lower_vector_insert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/lower_vector_insert.cpp')
-rw-r--r--mesalib/src/glsl/lower_vector_insert.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/glsl/lower_vector_insert.cpp b/mesalib/src/glsl/lower_vector_insert.cpp
index 0e640cc32..6d7cfa942 100644
--- a/mesalib/src/glsl/lower_vector_insert.cpp
+++ b/mesalib/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)