summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-07-12 15:46:16 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-07-12 15:46:16 -0700
commit506880bc32e7bb98fd1896a9b2fe3614abab904f (patch)
tree175387584e406b7660d28511e59da59c85e2f723 /src
parent8baf21b1a4d50efca086679cc43bb0cfc3fee03a (diff)
ir_validate: Also perform usual checks on ir_dereference_variable nodes
Diffstat (limited to 'src')
-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 74b4826e35..4284f6b120 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;
}