diff options
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index efe59d80642..0d933024df0 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -342,6 +342,9 @@ public: /** Whether or not this function has a body (which may be empty). */ unsigned is_defined:1; + /** Whether or not this function signature is a built-in. */ + unsigned is_builtin:1; + /** Body of instructions in the function. */ struct exec_list body; @@ -407,8 +410,8 @@ public: */ const char *name; - /** Whether or not this function is a built-in. */ - unsigned is_builtin:1; + /** Whether or not this function has a signature that is a built-in. */ + bool has_builtin_signature(); /** * List of ir_function_signature for each overloaded function with this name. |