nir: Add goto_if jump instruction

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2401>
This commit is contained in:
Karol Herbst
2020-07-02 14:32:04 +02:00
committed by Marge Bot
parent 92db942fc6
commit 025bdbac3e
8 changed files with 106 additions and 4 deletions

View File

@@ -2587,6 +2587,12 @@ ntq_emit_jump(struct v3d_compile *c, nir_jump_instr *jump)
case nir_jump_return:
unreachable("All returns shouold be lowered\n");
break;
case nir_jump_goto:
case nir_jump_goto_if:
unreachable("not supported\n");
break;
}
}