Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.y:
| loop_statement
jump_statement:
KW_RETURN expr ';'
KW_BREAK ';'
{
struct hlsl_ir_node *jump;
/* TODO: allow 'break' in the 'switch' statements. */
That shouldn't be too hard to at least detect, and emit an `hlsl_fixme()` in case.