diff options
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r-- | src/glsl/ir.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index c6d96d8da03..ea018eb2d9e 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -1579,11 +1579,13 @@ ir_variable::determine_interpolation_mode(bool flat_shade) } -ir_function_signature::ir_function_signature(const glsl_type *return_type) - : return_type(return_type), is_defined(false), _function(NULL) +ir_function_signature::ir_function_signature(const glsl_type *return_type, + builtin_available_predicate b) + : return_type(return_type), is_defined(false), builtin_info(b), + _function(NULL) { this->ir_type = ir_type_function_signature; - this->is_builtin = false; + this->is_builtin = builtin_info != NULL; this->origin = NULL; } |