From 82177da76789ed3f5e58630cd79123367a0e465f Mon Sep 17 00:00:00 2001 From: David Neto Date: Fri, 30 Sep 2022 16:12:59 +0000 Subject: [PATCH] spirv-reader: add ColMajor decoration as needed for end2end Add ColMajor decoration to matrix test cases that ultimately become end2end test cases. Corresponds to end2end test fix in https://dawn-review.googlesource.com/c/dawn/+/103821 Change-Id: I30e9f706dcb935a6044ba650e5c9084363a1414b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/104400 Kokoro: Kokoro Auto-Submit: David Neto Reviewed-by: Antonio Maiorano Commit-Queue: Antonio Maiorano --- src/tint/reader/spirv/parser_impl_module_var_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tint/reader/spirv/parser_impl_module_var_test.cc b/src/tint/reader/spirv/parser_impl_module_var_test.cc index c761af7e6c..6e8b4fccbc 100644 --- a/src/tint/reader/spirv/parser_impl_module_var_test.cc +++ b/src/tint/reader/spirv/parser_impl_module_var_test.cc @@ -1301,6 +1301,7 @@ TEST_F(SpvModuleScopeVarParserTest, MatrixStrideDecoration_Natural_Dropped) { OpDecorate %s Block OpMemberDecorate %s 0 MatrixStride 8 OpMemberDecorate %s 0 Offset 0 + OpMemberDecorate %s 0 ColMajor %void = OpTypeVoid %voidfn = OpTypeFunction %void %float = OpTypeFloat 32 @@ -1330,6 +1331,7 @@ TEST_F(SpvModuleScopeVarParserTest, MatrixStrideDecoration) { OpDecorate %s Block OpMemberDecorate %s 0 MatrixStride 64 OpMemberDecorate %s 0 Offset 0 + OpMemberDecorate %s 0 ColMajor %void = OpTypeVoid %voidfn = OpTypeFunction %void %float = OpTypeFloat 32