Fix all linter warnings

Change-Id: Ic55036ea8fee583ffe81fb6345ec3870d368302d
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/50745
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Ben Clayton 2021-05-12 11:33:51 +00:00 committed by Commit Bot service account
parent 5df7661659
commit ad393296d5
2 changed files with 3 additions and 2 deletions

View File

@ -4132,7 +4132,6 @@ INSTANTIATE_TEST_SUITE_P(ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel,
// ImageQuerySizeLod requires Sampled=1
SpvParserHandleTest_SampledImageAccessTest,
::testing::ValuesIn(std::vector<ImageAccessCase>{
// 1D
{"%float 1D 0 0 0 1 Unknown",
"%99 = OpImageQuerySizeLod %int %im %i1\n",

View File

@ -124,7 +124,9 @@ TEST_F(WgslGeneratorImplTest, Emit_Global_Texture) {
gen.increment_indent();
ASSERT_TRUE(gen.Generate(nullptr)) << gen.error();
EXPECT_EQ(gen.result(), " [[group(0), binding(0)]] var t : [[access(read)]] texture_1d<f32>;\n");
EXPECT_EQ(
gen.result(),
" [[group(0), binding(0)]] var t : [[access(read)]] texture_1d<f32>;\n");
}
} // namespace