diff options
author | Ian Romanick <[email protected]> | 2016-08-31 18:38:57 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-10-04 16:53:31 -0700 |
commit | acfcc7bbfac132b0c362819d7c734ef80cae289e (patch) | |
tree | 20debfed48103a4ffae0eb03a89e813417ffaa7e /src/compiler/glsl/ir.h | |
parent | b7df52b106416c410d0e14dc6bba091831f9c786 (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/ir.h')
-rw-r--r-- | src/compiler/glsl/ir.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h index 7333a53d215..241d31f918f 100644 --- a/src/compiler/glsl/ir.h +++ b/src/compiler/glsl/ir.h @@ -1187,11 +1187,17 @@ public: /** Whether or not this function signature is a built-in. */ bool is_builtin() const; + /** Whehter or not this function signautre is an intrinsic. */ + inline bool is_intrinsic() const + { + return _is_intrinsic; + } + /** * Whether or not this function is an intrinsic to be implemented * by the driver. */ - bool is_intrinsic; + bool _is_intrinsic; /** Indentifier for this intrinsic. */ enum ir_intrinsic_id intrinsic_id; |