X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=4ff05fa1a09f9275760dcbfe617610dc6d21a2e3;hb=f08bd843fbe63a0bf5bcbc21308f2751d08f00c1;hp=70b1bb39f3547d2f3fb838fe8359d5aa979b5e1c;hpb=33dcf183c6394b403b340095f0cf6ac58bd8090d;p=libs%2Fgl.git diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index 70b1bb39..4ff05fa1 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -3,6 +3,7 @@ #include #include +#include #include #include #include @@ -90,6 +91,7 @@ class NodeArray: public NodeContainer > > struct StructDeclaration; struct VariableDeclaration; +struct InterfaceBlock; struct FunctionDeclaration; struct Statement: Node @@ -106,9 +108,9 @@ struct Block: Node { NodeList body; bool use_braces; - bool anonymous; std::map types; std::map variables; + std::set interfaces; Block *parent; Block(); @@ -383,8 +385,6 @@ struct Stage Type type; Stage *previous; Block content; - std::map in_variables; - std::map out_variables; std::map locations; Features required_features;