i965/fs: Reorder fs_inst's fields for better packing.
[mesa.git] / src / glsl / lower_mat_op_to_vec.cpp
index 08cae29fa5d85bca560ca8f33a7d6821502a10af..105ee0d3f51ad75916a16e2c6846107de83e3afe 100644 (file)
@@ -35,6 +35,8 @@
 #include "ir_expression_flattening.h"
 #include "glsl_types.h"
 
+namespace {
+
 class ir_mat_op_to_vec_visitor : public ir_hierarchical_visitor {
 public:
    ir_mat_op_to_vec_visitor()
@@ -63,6 +65,8 @@ public:
    bool made_progress;
 };
 
+} /* anonymous namespace */
+
 static bool
 mat_op_to_vec_predicate(ir_instruction *ir)
 {