Remove temporary disabling of validation check

Change-Id: I8bf7f4850689c240152a7a87ed42d7637c69ed45
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/26380
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
Ryan Harrison 2020-08-05 18:18:04 +00:00 committed by Commit Bot service account
parent 7ce4924a35
commit fa4b74d479
1 changed files with 5 additions and 7 deletions

View File

@ -356,13 +356,11 @@ namespace dawn_native {
return DAWN_VALIDATION_ERROR(errorStream.str().c_str());
}
// TODO(rharrsion): Add this back in once multual dependencies are
// rolled into Chromium.
// tint::Validator validator;
// if (!validator.Validate(&module)) {
// errorStream << "Validation: " << validator.error() << std::endl;
// return DAWN_VALIDATION_ERROR(errorStream.str().c_str());
// }
tint::Validator validator;
if (!validator.Validate(&module)) {
errorStream << "Validation: " << validator.error() << std::endl;
return DAWN_VALIDATION_ERROR(errorStream.str().c_str());
}
return {};
}