aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/builtin_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/builtin_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/builtin_functions.cpp')
-rw-r--r--src/compiler/glsl/builtin_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/builtin_functions.cpp b/src/compiler/glsl/builtin_functions.cpp
index daaa3a69e61..84b416d3749 100644
--- a/src/compiler/glsl/builtin_functions.cpp
+++ b/src/compiler/glsl/builtin_functions.cpp
@@ -3266,7 +3266,7 @@ builtin_builder::new_sig(const glsl_type *return_type,
#define MAKE_INTRINSIC(return_type, id, avail, ...) \
ir_function_signature *sig = \
new_sig(return_type, avail, __VA_ARGS__); \
- sig->is_intrinsic = true; \
+ sig->_is_intrinsic = true; \
sig->intrinsic_id = id;
ir_function_signature *
@@ -5601,7 +5601,7 @@ builtin_builder::_image(image_prototype_ctr prototype,
sig->is_defined = true;
} else {
- sig->is_intrinsic = true;
+ sig->_is_intrinsic = true;
sig->intrinsic_id = id;
}