[spirv-reader] Fix labels in CFG tests
Bug: tint:3 Change-Id: I13c67649d7e630828eeae34a2b4cd5612d5f2217 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/20420 Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
parent
75dbd8739e
commit
597f52add2
|
@ -576,7 +576,7 @@ TEST_F(SpvParserTest, RegisterMerges_SelectionMerge_BadTerminator) {
|
|||
|
||||
%10 = OpLabel
|
||||
OpSelectionMerge %99 None
|
||||
OpBranch %30
|
||||
OpBranch %20
|
||||
|
||||
%20 = OpLabel
|
||||
OpBranch %99
|
||||
|
@ -606,6 +606,9 @@ TEST_F(SpvParserTest, RegisterMerges_LoopMerge_BadTerminator) {
|
|||
OpSwitch %selector %99 30 %30
|
||||
|
||||
%30 = OpLabel
|
||||
OpBranch %99
|
||||
|
||||
%40 = OpLabel
|
||||
OpBranch %20
|
||||
|
||||
%99 = OpLabel
|
||||
|
|
Loading…
Reference in New Issue