mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Remove deprecated APIs
Remove the Parser classes from the wgsl and spirv namespaces. These have been replaced with a Parse() method. Remove the TypeDeterminer::Run() method, this was not called by tint and the TypeDeterminer is now non-public API. Change-Id: I5ddb82768da04398ab3958d1647be44f9fe30c21 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/41840 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
6b4924fb0e
commit
7206e25798
@@ -120,9 +120,7 @@ const declaration_order_check_3 : i32 = 1;
|
||||
)");
|
||||
|
||||
// Parse the wgsl, create the src program
|
||||
reader::wgsl::Parser parser(&file);
|
||||
ASSERT_TRUE(parser.Parse()) << parser.error();
|
||||
auto src = parser.program();
|
||||
auto src = reader::wgsl::Parse(&file);
|
||||
|
||||
ASSERT_TRUE(src.IsValid()) << diag::Formatter().format(src.Diagnostics());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user