X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Ffinalize.h;h=4fc2e1b00c42806768e0aca28b9166eb2284939b;hb=0a8abd433b3052ed99adac4069fef55c6a56ccaa;hp=ec5f459ae53b59f1db6371dedcc2928e6d75cd36;hpb=6425fd2ec9c7e1e13c3afa7a79a9a2442d9e5c50;p=libs%2Fgl.git 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: