Remove tint context.

This CL removes all references to the tint context object which is going
away.

Bug: None
Change-Id: I3b74a8a65b89ba2236cfa71e7551756c8624e2a4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/34725
Auto-Submit: dan sinclair <dsinclair@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
dan sinclair
2020-12-03 15:46:17 +00:00
committed by Commit Bot service account
parent 5d8a071433
commit 0d1c17363d
3 changed files with 19 additions and 26 deletions

View File

@@ -73,8 +73,7 @@ namespace DawnSPIRVCrossFuzzer {
// Using Tint SPIRV->SPIRV to normalize inputs if supported.
#ifdef DAWN_ENABLE_WGSL
tint::Context context;
tint::reader::spirv::Parser parser(&context, input);
tint::reader::spirv::Parser parser(input);
if (!parser.Parse()) {
return 0;
@@ -85,7 +84,7 @@ namespace DawnSPIRVCrossFuzzer {
return 0;
}
tint::TypeDeterminer type_determiner(&context, &module);
tint::TypeDeterminer type_determiner(&module);
if (!type_determiner.Determine()) {
return 0;
}