]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/optimize.h
Further refactor block and scope management
[libs/gl.git] / source / glsl / optimize.h
index ea772b3d841b1ef78171d99ebb9afef064a76dfd..2caa498da0512624a31734232dfca88e870f6b31 100644 (file)
@@ -56,8 +56,6 @@ private:
 class ConstantConditionEliminator: private TraversingVisitor
 {
 private:
-       unsigned scope_level;
-       Block *current_block;
        bool record_only;
        ExpressionEvaluator::ValueMap variable_values;
        NodeList<Statement>::iterator insert_point;
@@ -100,7 +98,6 @@ private:
        Assignment *assignment;
        bool assignment_target;
        bool assign_to_subscript;
-       bool global_scope;
 
 public:
        UnusedVariableRemover();