summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_to_hir.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-09-16 02:52:25 -0700
committerKenneth Graunke <[email protected]>2010-09-16 02:52:25 -0700
commit81f03393982c29f8f4165b5629c8e8fb708b97a3 (patch)
treed5bf9ed544b58198841249f4cecbaad33dfee700 /src/glsl/ast_to_hir.cpp
parentdf62338c491f2cace1a48f99de78e83b5edd82fd (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/ast_to_hir.cpp')
-rw-r--r--src/glsl/ast_to_hir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 31bb40dd138..96385449bd6 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -2285,7 +2285,7 @@ ast_function::hir(exec_list *instructions,
* that the previously seen signature does not have an associated definition.
*/
f = state->symbols->get_function(name);
- if (f != NULL && (state->es_shader || !f->has_builtin_signature())) {
+ if (f != NULL && (state->es_shader || f->has_user_signature())) {
sig = f->exact_matching_signature(&hir_parameters);
if (sig != NULL) {
const char *badvar = sig->qualifiers_match(&hir_parameters);