Rename Transform() to Run() to fix build

Two changes merged that were not compatible (44681 and 44603).

Change-Id: Ib35c4d738e4749b904c0c83626de730de63b8417
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44800
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
David Neto 2021-03-15 20:10:02 +00:00 committed by Commit Bot service account
parent 5106a0653c
commit c7e4032009
2 changed files with 4 additions and 4 deletions

View File

@ -179,7 +179,7 @@ fn frag_main(tint_symbol_4 : tint_symbol_3, frag_in : FragIn) -> void {
}
)";
auto got = Transform<Hlsl>(src);
auto got = Run<Hlsl>(src);
EXPECT_EQ(expect, str(got));
}
@ -205,7 +205,7 @@ fn frag_main(builtins : FragBuiltins, inputs : FragInputs) -> void {
}
)";
auto got = Transform<Hlsl>(src);
auto got = Run<Hlsl>(src);
EXPECT_EQ(src, str(got));
}
@ -237,7 +237,7 @@ fn frag_main(tint_symbol_5 : tint_symbol_4) -> void {
}
)";
auto got = Transform<Hlsl>(src);
auto got = Run<Hlsl>(src);
EXPECT_EQ(expect, str(got));
}

View File

@ -367,7 +367,7 @@ fn frag_main([[builtin(frag_coord)]] coord : vec4<f32>) -> void {
}
)";
auto got = Transform<Msl>(src);
auto got = Run<Msl>(src);
EXPECT_EQ(src, str(got));
}