diff options
author | Ian Romanick <[email protected]> | 2016-08-31 18:42:34 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-10-04 16:53:31 -0700 |
commit | bb290b5679745e3b7f84dd14174aae6688ab4cac (patch) | |
tree | 12893efd4085b812e90900cadaaf08467e7795b7 /src/compiler/glsl/ir.h | |
parent | acfcc7bbfac132b0c362819d7c734ef80cae289e (diff) |
glsl: Remove ir_function_signature::_is_intrinsic field
text data bss dec hex filename
6036491 283160 28608 6348259 60dde3 lib64/i965_dri.so before
6036395 283160 28608 6348163 60dd83 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 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h index 241d31f918f..388b1bec337 100644 --- a/src/compiler/glsl/ir.h +++ b/src/compiler/glsl/ir.h @@ -1187,17 +1187,14 @@ 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; + inline bool is_intrinsic() const + { + return intrinsic_id != ir_intrinsic_invalid; + } /** Indentifier for this intrinsic. */ enum ir_intrinsic_id intrinsic_id; |