]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Even more validation for uniform mismatches
[libs/gl.git] / source / glsl / syntax.h
index f7c8ed29cedc09229be11f5ce774d78f67107ee3..597a48e4b39bf47f8e78c9b781006238a071a167 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,9 @@ struct Module
 
 std::string get_unused_variable_name(const Block &, const std::string &);
 
+bool is_same_type(const TypeDeclaration &, const TypeDeclaration &);
+int get_layout_value(const Layout &, const std::string &, int = -1);
+
 } // namespace SL
 } // namespace GL
 } // namespace Msp