ir_validate: Also perform usual checks on ir_dereference_variable nodes
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 12 Jul 2010 22:46:16 +0000 (15:46 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 12 Jul 2010 22:46:16 +0000 (15:46 -0700)
src/glsl/ir_validate.cpp

index 74b4826..4284f6b 100644 (file)
@@ -88,6 +88,8 @@ ir_validate::visit(ir_dereference_variable *ir)
       abort();
    }
 
+   this->validate_ir(ir, this->data);
+
    return visit_continue;
 }