Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl_codegen.c:
{remove_unreachable_code(ctx, &c->body);}}- }
- /* Remove instructions past unconditional break. */
- LIST_FOR_EACH_ENTRY(instr, &body->instrs, struct hlsl_ir_node, entry)
- {
struct hlsl_ir_jump *jump;if (instr->type != HLSL_IR_JUMP)continue;jump = hlsl_ir_jump(instr);if (jump->type != HLSL_IR_JUMP_BREAK)
Maybe on `continue` too?