X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprogramsyntax.h;h=1f26bc568800e1f9374cb0f4b9e20647442d6804;hp=b0ad02b394c480708d1b871173b37cff3c3df6fd;hb=7189f63c549e9061789c47726ff8d6d12afca1a0;hpb=53953f28255e782ed640a9e8d2d42c9b218943ad diff --git a/source/programsyntax.h b/source/programsyntax.h index b0ad02b3..1f26bc56 100644 --- a/source/programsyntax.h +++ b/source/programsyntax.h @@ -7,6 +7,10 @@ #include #include #include "extension.h" +#include "uniform.h" + +#pragma push_macro("interface") +#undef interface namespace Msp { namespace GL { @@ -226,6 +230,7 @@ struct VariableDeclaration: Node { bool constant; std::string sampling; + std::string interpolation; std::string interface; std::string precision; std::string type; @@ -384,6 +389,7 @@ struct Stage std::map out_variables; std::map locations; Version required_version; + std::vector required_extensions; Stage(StageType); }; @@ -400,4 +406,6 @@ struct Module } // namespace GL } // namespace Msp +#pragma pop_macro("interface") + #endif