diff options
Diffstat (limited to 'glsl_types.h')
-rw-r--r-- | glsl_types.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/glsl_types.h b/glsl_types.h index 1f8559aa6a..96e4c74d5b 100644 --- a/glsl_types.h +++ b/glsl_types.h @@ -199,8 +199,10 @@ struct glsl_type { static const glsl_type *get_array_instance(const glsl_type *base, unsigned elements); - class ir_function *generate_constructor_prototype(class glsl_symbol_table *) - const; + /** + * Generate the constructor for this type and add it to the symbol table + */ + class ir_function *generate_constructor(class glsl_symbol_table *) const; /** * Query the total number of scalars that make up a scalar, vector or matrix |