Conor McCarthy (@cmccarthy) commented about libs/vkd3d-shader/ir.c:
if (structure->u.jump.target != loop_idx)
{
WARN("Multilevel jumps are not supported yet, falling back to the simple structurizer.\n");
return VKD3D_ERROR_NOT_IMPLEMENTED;
}
switch (structure->u.jump.type) {
case JUMP_CONTINUE:
/* If we're continueing the loop we're
* directly inside, then we can emit a
* `continue'. Otherwise we first have to
* break all the loops between here and the
* loop to continue, recording our intention
* to continue in the lowest bit of
* jump_target. */
A minor observation: some comments in here have very short line lengths.