]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/generate.h
Only generate or link interfaces in the correct scope
[libs/gl.git] / source / glsl / generate.h
index f904021ad726fcf544f469c0787311bd056c9aea..72035b2c4869504199edda4df59e46958b41fed1 100644 (file)
@@ -84,6 +84,7 @@ private:
        Stage *stage;
        std::string in_prefix;
        std::string out_prefix;
+       bool function_scope;
        NodeList<Statement>::iterator iface_insert_point;
        NodeList<Statement>::iterator assignment_insert_point;
        std::set<Node *> nodes_to_remove;