glsl: Don't add overloads to existing structure constructors.
[mesa.git] / src / glsl / glsl_symbol_table.h
index d71be5578be1ee9ff83db36c6f267970f1e511d5..c90fdc3c1d944b9b73eface26ccb1e874d5882b0 100644 (file)
@@ -109,7 +109,7 @@ public:
    /*@{*/
    ir_variable *get_variable(const char *name);
    const glsl_type *get_type(const char *name);
-   ir_function *get_function(const char *name);
+   ir_function *get_function(const char *name, bool return_constructors = true);
    /*@}*/
 
 private: