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 74b4826e35566f5c4ddce2e20adf75e8749213ab..4284f6b12014736a2a5a7f1e224273eaa35aa55c 100644 (file)
@@ -88,6 +88,8 @@ ir_validate::visit(ir_dereference_variable *ir)
       abort();
    }
 
+   this->validate_ir(ir, this->data);
+
    return visit_continue;
 }