From ad393296d5c3b75fa6d81ed96b0c5799b130f6aa Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Wed, 12 May 2021 11:33:51 +0000 Subject: [PATCH] Fix all linter warnings Change-Id: Ic55036ea8fee583ffe81fb6345ec3870d368302d Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/50745 Auto-Submit: Ben Clayton Commit-Queue: Antonio Maiorano Reviewed-by: Antonio Maiorano --- src/reader/spirv/parser_impl_handle_test.cc | 1 - src/writer/wgsl/generator_impl_global_decl_test.cc | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/reader/spirv/parser_impl_handle_test.cc b/src/reader/spirv/parser_impl_handle_test.cc index 0ba4b406cd..11c492e151 100644 --- a/src/reader/spirv/parser_impl_handle_test.cc +++ b/src/reader/spirv/parser_impl_handle_test.cc @@ -4132,7 +4132,6 @@ INSTANTIATE_TEST_SUITE_P(ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel, // ImageQuerySizeLod requires Sampled=1 SpvParserHandleTest_SampledImageAccessTest, ::testing::ValuesIn(std::vector{ - // 1D {"%float 1D 0 0 0 1 Unknown", "%99 = OpImageQuerySizeLod %int %im %i1\n", diff --git a/src/writer/wgsl/generator_impl_global_decl_test.cc b/src/writer/wgsl/generator_impl_global_decl_test.cc index 50b8269e5d..14fd4a72f8 100644 --- a/src/writer/wgsl/generator_impl_global_decl_test.cc +++ b/src/writer/wgsl/generator_impl_global_decl_test.cc @@ -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;\n"); + EXPECT_EQ( + gen.result(), + " [[group(0), binding(0)]] var t : [[access(read)]] texture_1d;\n"); } } // namespace