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:
James Price 2021-05-13 23:01:12 +00:00 committed by Commit Bot service account
parent 26e0312de2
commit 60ade8939a
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ TEST_F(WgslGeneratorImplTest, Emit_OverridableConstants) {
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;
[[override(7)]] let b : f32;