aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/loop_controls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/loop_controls.cpp')
-rw-r--r--mesalib/src/glsl/loop_controls.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/glsl/loop_controls.cpp b/mesalib/src/glsl/loop_controls.cpp
index 79c820436..26481930d 100644
--- a/mesalib/src/glsl/loop_controls.cpp
+++ b/mesalib/src/glsl/loop_controls.cpp
@@ -151,6 +151,7 @@ calculate_iterations(ir_rvalue *from, ir_rvalue *to, ir_rvalue *increment,
return (valid_loop) ? iter_value : -1;
}
+namespace {
class loop_control_visitor : public ir_hierarchical_visitor {
public:
@@ -167,6 +168,7 @@ public:
bool progress;
};
+} /* anonymous namespace */
ir_visitor_status
loop_control_visitor::visit_leave(ir_loop *ir)