X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=d69922a7df1d4b349e3ea6747c46f3b478a6f267;hb=20a86c5905e1f7527d3c9edc3f56f6b7679c268a;hp=9bc3c5a872e865ea9f6506bfcc4d1ba04524144e;hpb=d4b8a3f67c1f7184124bf95caee7e36ae8d6c82a;p=libs%2Fgl.git diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index 9bc3c5a8..d69922a7 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -429,8 +429,9 @@ struct VariableDeclaration: Statement struct InterfaceBlock: Statement { + NodePtr layout; std::string interface; - std::string name; + std::string block_name; NodePtr members; std::string instance_name; bool array; @@ -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