glsl: fix missing breaks in equals(ir_texture,..)
[mesa.git] / src / glsl / lower_output_reads.cpp
index 5ba9720d0dc36239a15b24bf5ed20461a6cacdc5..128b0b8cdb21b0d0df74669ed15546182caf4757 100644 (file)
@@ -37,6 +37,8 @@
  * main() function to copy the final values to the actual shader outputs.
  */
 
+namespace {
+
 class output_read_remover : public ir_hierarchical_visitor {
 protected:
    /**
@@ -55,6 +57,8 @@ public:
    virtual ir_visitor_status visit_leave(class ir_function_signature *);
 };
 
+} /* anonymous namespace */
+
 /**
  * Hash function for the output variables - computes the hash of the name.
  * NOTE: We're using the name string to ensure that the hash doesn't depend