Fix control flow in SPIR-V test cases
authorAlan Baker <alanbaker@google.com>
Mon, 13 Jun 2022 13:06:25 +0000 (09:06 -0400)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 15 Jul 2022 14:26:28 +0000 (14:26 +0000)
commit3abbee6ec9afbaec6ec5a03151a4e5b066cb6575
tree8bc8f118228767f3831bb45744427f91f7621ee7
parentdc288bf037b741677da275d6c8a596b55c5bf77f
Fix control flow in SPIR-V test cases

Adapts three graphicsfuzz test cases to reflect changes in the SPIR-V
specification that tighten the rules for structured control flow.

Component: Vulkan

VK-GL-CTS Issue: 3612, 3613, 3615

Affected tests:
dEQP-VK.graphicsfuzz.control-flow-switch
dEQP-VK.graphicsfuzz.cov-dead-branch-func-return-arg
dEQP-VK.graphicsfuzz.nested-for-loops-with-return

Change-Id: I3b581dcdc685717421c7c7a7299bf378b3cc3b01
external/vulkancts/data/vulkan/amber/graphicsfuzz/control-flow-switch.amber
external/vulkancts/data/vulkan/amber/graphicsfuzz/cov-dead-branch-func-return-arg.amber
external/vulkancts/data/vulkan/amber/graphicsfuzz/nested-for-loops-with-return.amber