X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=597a48e4b39bf47f8e78c9b781006238a071a167;hb=dfde6f3568c1a840232cf860f4a260a987a1433b;hp=d69922a7df1d4b349e3ea6747c46f3b478a6f267;hpb=20a86c5905e1f7527d3c9edc3f56f6b7679c268a;p=libs%2Fgl.git diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index d69922a7..597a48e4 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -552,6 +552,7 @@ 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