]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Refactor assignment target overlap check into a function
[libs/gl.git] / source / glsl / syntax.h
index 8567555a5d342ef6dfadeab58627fa2ccc0e2ef8..95c15ac069046644e92df976f3e38c5a596d0edb 100644 (file)
@@ -555,6 +555,7 @@ std::string get_unused_variable_name(const Block &, const std::string &);
 
 int get_layout_value(const Layout &, const std::string &, int = -1);
 void add_to_chain(Assignment::Target &, Assignment::Target::ChainType, unsigned);
+bool targets_overlap(const Assignment::Target &, const Assignment::Target &);
 
 } // namespace SL
 } // namespace GL