]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Validate location overlap and type matching for GLSL interfaces
[libs/gl.git] / source / glsl / syntax.h
index f7c8ed29cedc09229be11f5ce774d78f67107ee3..d69922a7df1d4b349e3ea6747c46f3b478a6f267 100644 (file)
@@ -429,6 +429,7 @@ struct VariableDeclaration: Statement
 
 struct InterfaceBlock: Statement
 {
+       NodePtr<Layout> layout;
        std::string interface;
        std::string block_name;
        NodePtr<Block> members;
@@ -550,6 +551,8 @@ struct Module
 
 std::string get_unused_variable_name(const Block &, const std::string &);
 
+bool is_same_type(const TypeDeclaration &, const TypeDeclaration &);
+
 } // namespace SL
 } // namespace GL
 } // namespace Msp