On Thu Sep 21 14:44:27 2023 +0000, Conor McCarthy wrote:
In `spirv_compiler_emit_control_flow_instruction()`, `break` and `continue` set the depth not to zero but to the innermost breakable construct. Setting `depth` to zero in this patch seems to work, but a comment explaining exactly why would be helpful.
I added a few comments, hopefully they make the logic clearer.