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:
parent
7ce4924a35
commit
fa4b74d479
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue