summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index a927e90ca1f..bd1c12cd90a 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -686,6 +686,9 @@ public:
/** Whether or not this function signature is a built-in. */
bool is_builtin() const;
+ /** Whether or not a built-in is available for this shader. */
+ bool is_builtin_available(const _mesa_glsl_parse_state *state) const;
+
/** Body of instructions in the function. */
struct exec_list body;