From ce0b1c1c88472fae02fcfb49cf53721c75bdf096 Mon Sep 17 00:00:00 2001 From: Antonio Maiorano Date: Tue, 11 May 2021 14:26:40 +0000 Subject: [PATCH] Fix test: "matrix scalar element type must be f32" Bug found when passing program through spirv writer and then reader. This failed in the writer. Bug: tint:792 Change-Id: I512798240710fd262da81a73d6646deb975ac5e9 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/50563 Reviewed-by: Ben Clayton Commit-Queue: Antonio Maiorano --- src/resolver/host_shareable_validation_test.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/resolver/host_shareable_validation_test.cc b/src/resolver/host_shareable_validation_test.cc index 908b4cb375..09ce2c75f0 100644 --- a/src/resolver/host_shareable_validation_test.cc +++ b/src/resolver/host_shareable_validation_test.cc @@ -125,7 +125,6 @@ TEST_F(ResolverHostShareableValidationTest, NoError) { auto* i2 = Structure("I2", { Member(Source{{4, 1}}, "x2", ty.mat2x2()), Member(Source{{5, 1}}, "y2", i1), - Member(Source{{6, 1}}, "z2", ty.mat3x2()), }); auto* a2 = ty.alias("a2", i2); AST().AddConstructedType(a2);