Merge branch 'master' of git://github.com/lifpan/SPIRV-Cross
This commit is contained in:
commit
de365f2e21
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user