]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Store functions definitions in Stage
[libs/gl.git] / source / glsl / syntax.h
index 55f47402f514538b959a459a07b3532e2a0d5efd..70ea50d106f774c2c8be8974cb3140fbf0421d39 100644 (file)
@@ -410,6 +410,7 @@ struct Stage
        Block content;
        std::map<std::string, StructDeclaration *> types;
        std::map<std::string, InterfaceBlock *> interface_blocks;
+       std::map<std::string, FunctionDeclaration *> functions;
        std::map<std::string, unsigned> locations;
        Features required_features;