]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Add a utility function for following a chain of base types
[libs/gl.git] / source / glsl / syntax.h
index 8567555a5d342ef6dfadeab58627fa2ccc0e2ef8..499779d91faf2e162a2b47ef0b48ca8ab88fed84 100644 (file)
@@ -552,9 +552,10 @@ struct Module
 };
 
 std::string get_unused_variable_name(const Block &, const std::string &);
-
+const TypeDeclaration *get_ultimate_base_type(const TypeDeclaration *);
 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