X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=597a48e4b39bf47f8e78c9b781006238a071a167;hb=9cfccf5c4e366e033cfd5eebf8955d2b13202b46;hp=f7c8ed29cedc09229be11f5ce774d78f67107ee3;hpb=d8bdf61007978e2c3670a22a58e2f105e8347537;p=libs%2Fgl.git diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index f7c8ed29..597a48e4 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -429,6 +429,7 @@ struct VariableDeclaration: Statement struct InterfaceBlock: Statement { + NodePtr layout; std::string interface; std::string block_name; NodePtr 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