X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Ffinalize.h;h=4fc2e1b00c42806768e0aca28b9166eb2284939b;hp=ec5f459ae53b59f1db6371dedcc2928e6d75cd36;hb=0fdc229b8b43f1897de4611672ac65b4db954be0;hpb=857e0a3f684fba4810260697a78a769dff514f1f diff --git a/source/glsl/finalize.h b/source/glsl/finalize.h index ec5f459a..4fc2e1b0 100644 --- a/source/glsl/finalize.h +++ b/source/glsl/finalize.h @@ -43,6 +43,10 @@ private: std::vector unbound_textures; std::vector unbound_blocks; + /* Dirty hack to work around an issue where vertex attributes prevent the + flat qualifier from working on the same location. */ + std::set used_vertex_attribs; + public: void apply(Module &, const Features &, bool = true); private: