X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=a1c62d4b11aa2a97f5ff2b17af1bed66e51a028c;hp=95c15ac069046644e92df976f3e38c5a596d0edb;hb=76cc18518fc8b0b4fa11fda153e7d9b3899ed112;hpb=c849969d056972dd976cfa616363f1bc8cbc6291 diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index 95c15ac0..a1c62d4b 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -552,8 +552,10 @@ struct Module }; std::string get_unused_variable_name(const Block &, const std::string &); - -int get_layout_value(const Layout &, const std::string &, int = -1); +const TypeDeclaration *get_ultimate_base_type(const TypeDeclaration *); +bool has_layout_qualifier(const Layout *, const std::string &); +int get_layout_value(const Layout *, const std::string &, int = -1); +void add_layout_qualifier(RefPtr &, const Layout::Qualifier &); void add_to_chain(Assignment::Target &, Assignment::Target::ChainType, unsigned); bool targets_overlap(const Assignment::Target &, const Assignment::Target &);