std::vector<VariableDeclaration *> unbound_textures;
std::vector<VariableDeclaration *> unbound_blocks;
+ /* Dirty hack to work around an issue where vertex attributes prevent the
+ flat qualifier from working on the same location. */
+ std::set<unsigned> used_vertex_attribs;
+
public:
void apply(Module &, const Features &, bool = true);
private: