summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ast.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index 655054ff6fa..aa769da3f65 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -455,6 +455,12 @@ public:
class ast_parameter_declarator : public ast_node {
public:
+ ast_parameter_declarator()
+ {
+ this->is_array = false;
+ this->array_size = 0;
+ }
+
virtual void print(void) const;
virtual ir_rvalue *hir(exec_list *instructions,