]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Support layout qualifiers on GLSL interface blocks
[libs/gl.git] / source / glsl / syntax.h
index 9bc3c5a872e865ea9f6506bfcc4d1ba04524144e..1caf4d9568c10f5b3c45faed04fd25cab14a606b 100644 (file)
@@ -429,8 +429,9 @@ struct VariableDeclaration: Statement
 
 struct InterfaceBlock: Statement
 {
+       NodePtr<Layout> layout;
        std::string interface;
-       std::string name;
+       std::string block_name;
        NodePtr<Block> members;
        std::string instance_name;
        bool array;