X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Foptimize.h;h=2caa498da0512624a31734232dfca88e870f6b31;hb=9971979;hp=ea772b3d841b1ef78171d99ebb9afef064a76dfd;hpb=48fa4e32b654aa1f2107caf266c3bdda9cc74847;p=libs%2Fgl.git diff --git a/source/glsl/optimize.h b/source/glsl/optimize.h index ea772b3d..2caa498d 100644 --- a/source/glsl/optimize.h +++ b/source/glsl/optimize.h @@ -56,8 +56,6 @@ private: class ConstantConditionEliminator: private TraversingVisitor { private: - unsigned scope_level; - Block *current_block; bool record_only; ExpressionEvaluator::ValueMap variable_values; NodeList::iterator insert_point; @@ -100,7 +98,6 @@ private: Assignment *assignment; bool assignment_target; bool assign_to_subscript; - bool global_scope; public: UnusedVariableRemover();