diff options
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r-- | src/glsl/ir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index 86dc4901543..7cc55d40b78 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -1137,11 +1137,11 @@ ir_function::ir_function(const char *name) bool -ir_function::has_builtin_signature() +ir_function::has_user_signature() { foreach_list(n, &this->signatures) { ir_function_signature *const sig = (ir_function_signature *) n; - if (sig->is_builtin) + if (!sig->is_builtin) return true; } return false; |