mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
[transformer] Remove deprecated Manager constructor
Also moves the type determiner call out of the transformers into the manager. Cleans up the code to not have anything directly calling Run() on the transformers other then the manager. Bug: tint:308 Change-Id: I3343f2ba16dae6fb33f35e390ae4c797f2a05522 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/33262 Auto-Submit: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
c7f51b7d3c
commit
40e3ccda33
@@ -507,7 +507,7 @@ int main(int argc, const char** argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
tint::transform::Manager transform_manager;
|
||||
tint::transform::Manager transform_manager(&ctx, &mod);
|
||||
for (const auto& name : options.transforms) {
|
||||
// TODO(dsinclair): The vertex pulling transform requires setup code to
|
||||
// be run that needs user input. Should we find a way to support that here
|
||||
|
||||
Reference in New Issue
Block a user