Merge pull request #438 from zeux/msvc-warning-fix
Fix MSVC 2017 warning
This commit is contained in:
Коммит
4b58f65af7
|
@ -7898,7 +7898,7 @@ void CompilerGLSL::branch(uint32_t from, uint32_t to)
|
|||
// so just use "self" here.
|
||||
loop_dominator = from;
|
||||
}
|
||||
else if (from_block.loop_dominator != -1u)
|
||||
else if (from_block.loop_dominator != SPIRBlock::NoDominator)
|
||||
{
|
||||
loop_dominator = from_block.loop_dominator;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче