aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/ir.h')
-rw-r--r--src/compiler/glsl/ir.h8
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;