@@ -57,8 +57,7 @@ func.func @access_chain_non_composite() -> () {
5757
5858func.func @access_chain_no_indices (%index0 : i32 ) -> () {
5959 %0 = spirv.Variable : !spirv.ptr <!spirv.array <4 x!spirv.array <4 xf32 >>, Function >
60- // expected-error @+2 {{custom op 'spirv.AccessChain' number of operands and types do not match}}
61- // expected-note @+1 {{got 1 type but only 0 operands}}
60+ // expected-error @+1 {{custom op 'spirv.AccessChain' number of operands and types do not match: got 0 operands and 1 types}}
6261 %1 = spirv.AccessChain %0 [] : !spirv.ptr <!spirv.array <4 x!spirv.array <4 xf32 >>, Function >, i32 -> !spirv.ptr <f32 , Function >
6362 return
6463}
@@ -76,8 +75,7 @@ func.func @access_chain_missing_comma(%index0 : i32) -> () {
7675
7776func.func @access_chain_invalid_indices_types_count (%index0 : i32 ) -> () {
7877 %0 = spirv.Variable : !spirv.ptr <!spirv.array <4 x!spirv.array <4 xf32 >>, Function >
79- // expected-error @+2 {{custom op 'spirv.AccessChain' number of operands and types do not match}}
80- // expected-note @+1 {{got 2 types but only 1 operand}}
78+ // expected-error @+1 {{custom op 'spirv.AccessChain' number of operands and types do not match: got 1 operands and 2 types}}
8179 %1 = spirv.AccessChain %0 [%index0 ] : !spirv.ptr <!spirv.array <4 x!spirv.array <4 xf32 >>, Function >, i32 , i32 -> !spirv.ptr <!spirv.array <4 xf32 >, Function >
8280 return
8381}
@@ -86,8 +84,7 @@ func.func @access_chain_invalid_indices_types_count(%index0 : i32) -> () {
8684
8785func.func @access_chain_missing_indices_type (%index0 : i32 ) -> () {
8886 %0 = spirv.Variable : !spirv.ptr <!spirv.array <4 x!spirv.array <4 xf32 >>, Function >
89- // expected-error @+2 {{custom op 'spirv.AccessChain' number of operands and types do not match}}
90- // expected-note @+1 {{got 2 operands but only 1 type}}
87+ // expected-error @+1 {{custom op 'spirv.AccessChain' number of operands and types do not match: got 2 operands and 1 types}}
9188 %1 = spirv.AccessChain %0 [%index0 , %index0 ] : !spirv.ptr <!spirv.array <4 x!spirv.array <4 xf32 >>, Function >, i32 -> !spirv.ptr <f32 , Function >
9289 return
9390}
0 commit comments