Needed for newer glslang. With Vulkan semantics for SPIR-V, all locations must be explicitly defined.
In some cases, the compiler decided to emit continue block first, which invalidated the expressions used by the condition. Parameters to functions can be evaluated in any order which caused "random" behavior.