mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
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:
committed by
Commit Bot service account
parent
5d8a071433
commit
0d1c17363d
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user