Merge branch 'master' of git://github.com/lifpan/SPIRV-Cross

This commit is contained in:
Hans-Kristian Arntzen 2018-09-18 10:52:26 +02:00
commit de365f2e21

View File

@ -9393,6 +9393,8 @@ void CompilerGLSL::propagate_loop_dominators(const SPIRBlock &block)
set_dominator(block.false_block, dominator);
if (block.next_block)
set_dominator(block.next_block, dominator);
if (block.default_block)
set_dominator(block.default_block, dominator);
for (auto &c : block.cases)
set_dominator(c.block, dominator);