summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-07-12 15:46:16 -0700
committerIan Romanick <[email protected]>2010-07-12 15:46:16 -0700
commit506880bc32e7bb98fd1896a9b2fe3614abab904f (patch)
tree175387584e406b7660d28511e59da59c85e2f723
parent8baf21b1a4d50efca086679cc43bb0cfc3fee03a (diff)
ir_validate: Also perform usual checks on ir_dereference_variable nodes
-rw-r--r--src/glsl/ir_validate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index 74b4826e355..4284f6b1201 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -88,6 +88,8 @@ ir_validate::visit(ir_dereference_variable *ir)
abort();
}
+ this->validate_ir(ir, this->data);
+
return visit_continue;
}