X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Freflect.h;h=5b4170a9c766e460d34da7157fe84f1d68dbbeec;hb=241cf36a6d7735706804bb3c517529bbe078f1ee;hp=d48fbec156506f31fda79fd86aa676b8257a128d;hpb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;p=libs%2Fgl.git diff --git a/source/glsl/reflect.h b/source/glsl/reflect.h index d48fbec1..5b4170a9 100644 --- a/source/glsl/reflect.h +++ b/source/glsl/reflect.h @@ -104,6 +104,18 @@ private: virtual void visit(FunctionDeclaration &); }; +class AssignmentCollector: private TraversingVisitor +{ +private: + std::set assigned_variables; + +public: + std::set apply(Node &); + +private: + virtual void visit(Assignment &); +}; + } // namespace SL } // namespace GL } // namespace Msp