struct Stage
{
StageType type;
- bool present;
Stage *previous;
ProgramSyntax::Block content;
std::map<std::string, VariableDeclaration *> in_variables;
struct Module
{
Stage shared;
- Stage vertex_stage;
- Stage geometry_stage;
- Stage fragment_stage;
+ std::list<Stage> stages;
Module();
};