]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/optimize.cpp
Rename and rearrange a few things
[libs/gl.git] / source / glsl / optimize.cpp
index be6cf7b6e456257bb8b46c6fc27f3781189eb1b2..7f60e67cc9c4ff58bfd46d452d407106b30d2315 100644 (file)
@@ -558,15 +558,6 @@ void ConstantConditionEliminator::visit(Iteration &iter)
 }
 
 
-UnusedVariableRemover::VariableInfo::VariableInfo():
-       local(false),
-       output(false),
-       conditionally_assigned(false),
-       referenced(false),
-       interface_block(0)
-{ }
-
-
 bool UnusedTypeRemover::apply(Stage &stage)
 {
        stage.content.visit(*this);
@@ -634,6 +625,15 @@ void UnusedTypeRemover::visit(FunctionDeclaration &func)
 }
 
 
+UnusedVariableRemover::VariableInfo::VariableInfo():
+       local(false),
+       output(false),
+       conditionally_assigned(false),
+       referenced(false),
+       interface_block(0)
+{ }
+
+
 UnusedVariableRemover::UnusedVariableRemover():
        stage(0),
        interface_block(0),