`LoopDivergentMergePhi` was attempting to use the same merge block for a `OpLoopMerge` and a `OpSelectionMerge`. This is not legal, and was caught by improvements to the SPIR-V tools validator. The fix is simple: Add a new merge block for the inner `OpSelectionMerge` that immediately jumps to the merge block for the `OpLoopMerge`. Bug: b/123642959 Bug: b/133440380 Bug: b/133481698 Change-Id: I8b5da04a1cd2db3e44bb5b50f1619a8565e5bc9d
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| BUILD.gn | Loading commit data... | |
| Device.cpp | Loading commit data... | |
| Device.hpp | Loading commit data... | |
| Driver.cpp | Loading commit data... | |
| Driver.hpp | Loading commit data... | |
| VkGlobalFuncs.hpp | Loading commit data... | |
| VkInstanceFuncs.hpp | Loading commit data... | |
| VulkanUnitTests.vcxproj | Loading commit data... | |
| VulkanUnitTests.vcxproj.filters | Loading commit data... | |
| VulkanUnitTests.vcxproj.user | Loading commit data... | |
| main.cpp | Loading commit data... | |
| unittests.cpp | Loading commit data... |