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:
parent
5df7661659
commit
ad393296d5
|
@ -4132,7 +4132,6 @@ INSTANTIATE_TEST_SUITE_P(ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel,
|
||||||
// ImageQuerySizeLod requires Sampled=1
|
// ImageQuerySizeLod requires Sampled=1
|
||||||
SpvParserHandleTest_SampledImageAccessTest,
|
SpvParserHandleTest_SampledImageAccessTest,
|
||||||
::testing::ValuesIn(std::vector<ImageAccessCase>{
|
::testing::ValuesIn(std::vector<ImageAccessCase>{
|
||||||
|
|
||||||
// 1D
|
// 1D
|
||||||
{"%float 1D 0 0 0 1 Unknown",
|
{"%float 1D 0 0 0 1 Unknown",
|
||||||
"%99 = OpImageQuerySizeLod %int %im %i1\n",
|
"%99 = OpImageQuerySizeLod %int %im %i1\n",
|
||||||
|
|
|
@ -124,7 +124,9 @@ TEST_F(WgslGeneratorImplTest, Emit_Global_Texture) {
|
||||||
gen.increment_indent();
|
gen.increment_indent();
|
||||||
|
|
||||||
ASSERT_TRUE(gen.Generate(nullptr)) << gen.error();
|
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
|
} // namespace
|
||||||
|
|
Loading…
Reference in New Issue