diff options
author | Kenneth Graunke <[email protected]> | 2010-09-16 02:52:25 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-09-16 02:52:25 -0700 |
commit | 81f03393982c29f8f4165b5629c8e8fb708b97a3 (patch) | |
tree | d5bf9ed544b58198841249f4cecbaad33dfee700 /src/glsl/ir.cpp | |
parent | df62338c491f2cace1a48f99de78e83b5edd82fd (diff) |
glsl: Change from has_builtin_signature to has_user_signature.
The print visitor needs this, and the only existing user can work with
has_user_signature just as well.
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; |