mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
[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:
@@ -576,7 +576,7 @@ TEST_F(SpvParserTest, RegisterMerges_SelectionMerge_BadTerminator) {
|
|||||||
|
|
||||||
%10 = OpLabel
|
%10 = OpLabel
|
||||||
OpSelectionMerge %99 None
|
OpSelectionMerge %99 None
|
||||||
OpBranch %30
|
OpBranch %20
|
||||||
|
|
||||||
%20 = OpLabel
|
%20 = OpLabel
|
||||||
OpBranch %99
|
OpBranch %99
|
||||||
@@ -606,6 +606,9 @@ TEST_F(SpvParserTest, RegisterMerges_LoopMerge_BadTerminator) {
|
|||||||
OpSwitch %selector %99 30 %30
|
OpSwitch %selector %99 30 %30
|
||||||
|
|
||||||
%30 = OpLabel
|
%30 = OpLabel
|
||||||
|
OpBranch %99
|
||||||
|
|
||||||
|
%40 = OpLabel
|
||||||
OpBranch %20
|
OpBranch %20
|
||||||
|
|
||||||
%99 = OpLabel
|
%99 = OpLabel
|
||||||
|
|||||||
Reference in New Issue
Block a user