]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/finalize.h
Hack to work around an issue with the flat interpolation qualifier
[libs/gl.git] / source / glsl / finalize.h
index ec5f459ae53b59f1db6371dedcc2928e6d75cd36..4fc2e1b00c42806768e0aca28b9166eb2284939b 100644 (file)
@@ -43,6 +43,10 @@ private:
        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: