summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/link_functions.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-08-31 18:38:57 -0700
committerIan Romanick <[email protected]>2016-10-04 16:53:31 -0700
commitacfcc7bbfac132b0c362819d7c734ef80cae289e (patch)
tree20debfed48103a4ffae0eb03a89e813417ffaa7e /src/compiler/glsl/link_functions.cpp
parentb7df52b106416c410d0e14dc6bba091831f9c786 (diff)
glsl: Add ir_function_signature::is_intrinsic() method
This necessetated renaming the is_intrinsic field to _is_intrinsic. The next commit will remove the field. text data bss dec hex filename 6036507 283160 28608 6348275 60ddf3 lib64/i965_dri.so before 6036491 283160 28608 6348259 60dde3 lib64/i965_dri.so after Signed-off-by: Ian Romanick <[email protected]> Acked-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/compiler/glsl/link_functions.cpp')
-rw-r--r--src/compiler/glsl/link_functions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/glsl/link_functions.cpp b/src/compiler/glsl/link_functions.cpp
index 00dc345d751..3b669cc9203 100644
--- a/src/compiler/glsl/link_functions.cpp
+++ b/src/compiler/glsl/link_functions.cpp
@@ -75,7 +75,7 @@ public:
const char *const name = callee->function_name();
/* We don't actually need to find intrinsics; they're not real */
- if (callee->is_intrinsic)
+ if (callee->is_intrinsic())
return visit_continue;
/* Determine if the requested function signature already exists in the
@@ -161,7 +161,7 @@ public:
linked_sig->replace_parameters(&formal_parameters);
- linked_sig->is_intrinsic = sig->is_intrinsic;
+ linked_sig->_is_intrinsic = sig->_is_intrinsic;
linked_sig->intrinsic_id = sig->intrinsic_id;
if (sig->is_defined) {
@@ -323,7 +323,7 @@ find_matching_signature(const char *name, const exec_list *actual_parameters,
ir_function_signature *sig =
f->matching_signature(NULL, actual_parameters, false);
- if (sig && (sig->is_defined || sig->is_intrinsic))
+ if (sig && (sig->is_defined || sig->is_intrinsic()))
return sig;
}