]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/generate.h
Limit GLSL passthrough statement to variables declared by that point
[libs/gl.git] / source / glsl / generate.h
index 4e66ef68ed6c75fbda2e360dfe813a1cdda1838e..c7a162e5c6c7e81f81a30d104f0763e81ff8f0ee 100644 (file)
@@ -200,6 +200,7 @@ private:
        std::string out_prefix;
        bool function_scope;
        bool copy_block;
+       std::vector<VariableDeclaration *> declared_inputs;
        Block *iface_target_block;
        NodeList<Statement>::iterator iface_insert_point;
        NodeList<Statement>::iterator assignment_insert_point;