]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/reflect.h
Move some type information functions to glsl/reflect.cpp
[libs/gl.git] / source / glsl / reflect.h
index 8de915729ce50e8748c9e8011419d5bd4f7cf6b8..63dfe7bec53ed2e843d2f8857d8cb18b056a6fb2 100644 (file)
@@ -7,6 +7,11 @@ namespace Msp {
 namespace GL {
 namespace SL {
 
+bool is_scalar(const BasicTypeDeclaration &);
+bool is_vector_or_matrix(const BasicTypeDeclaration &);
+BasicTypeDeclaration *get_element_type(BasicTypeDeclaration &);
+bool can_convert(const BasicTypeDeclaration &, const BasicTypeDeclaration &);
+
 /** Compares two types for equality.  Struct types are compared recursively. */
 class TypeComparer: private NodeVisitor
 {