#include <vector>
#include <msp/core/refptr.h>
#include "extension.h"
+#include "uniform.h"
+
+#pragma push_macro("interface")
+#undef interface
namespace Msp {
namespace GL {
{
struct Qualifier
{
+ // TODO the standard calls this name, not identifier
std::string identifier;
std::string value;
};
{
bool constant;
std::string sampling;
+ std::string interpolation;
std::string interface;
std::string precision;
std::string type;
std::map<std::string, VariableDeclaration *> out_variables;
std::map<std::string, unsigned> locations;
Version required_version;
+ std::vector<const Extension *> required_extensions;
Stage(StageType);
};
} // namespace GL
} // namespace Msp
+#pragma pop_macro("interface")
+
#endif