summaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index 0dfd02a9cd..37df4a0e08 100644
--- a/ast.h
+++ b/ast.h
@@ -432,6 +432,14 @@ public:
char *identifier;
int is_array;
ast_expression *array_size;
+
+ static void parameters_to_hir(simple_node *ast_parameters,
+ bool formal, exec_list *ir_parameters,
+ struct _mesa_glsl_parse_state *state);
+
+private:
+ /** Is this parameter declaration part of a formal parameter list? */
+ bool formal_parameter;
};