writer/wgsl: Fix build
Generator::Generate() no longer takes an argument. Change-Id: Ibee65ffd6672fb1507aec33c7690c5b05ce51fac Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/50960 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: James Price <jrprice@google.com>
This commit is contained in:
parent
26e0312de2
commit
60ade8939a
|
@ -137,7 +137,7 @@ TEST_F(WgslGeneratorImplTest, Emit_OverridableConstants) {
|
||||||
|
|
||||||
gen.increment_indent();
|
gen.increment_indent();
|
||||||
|
|
||||||
ASSERT_TRUE(gen.Generate(nullptr)) << gen.error();
|
ASSERT_TRUE(gen.Generate()) << gen.error();
|
||||||
EXPECT_EQ(gen.result(), R"( [[override]] let a : f32;
|
EXPECT_EQ(gen.result(), R"( [[override]] let a : f32;
|
||||||
|
|
||||||
[[override(7)]] let b : f32;
|
[[override(7)]] let b : f32;
|
||||||
|
|
Loading…
Reference in New Issue