summaryrefslogtreecommitdiff
path: root/src/asahi/compiler/agx_compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/asahi/compiler/agx_compile.c')
-rw-r--r--src/asahi/compiler/agx_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/asahi/compiler/agx_compile.c b/src/asahi/compiler/agx_compile.c
index 277fe5fad96..67a77a9378f 100644
--- a/src/asahi/compiler/agx_compile.c
+++ b/src/asahi/compiler/agx_compile.c
@@ -1668,6 +1668,7 @@ emit_if(agx_context *ctx, nir_if *nif)
static void
emit_loop(agx_context *ctx, nir_loop *nloop)
{
+ assert(!nir_loop_has_continue_construct(nloop));
/* We only track nesting within the innermost loop, so push and reset */
unsigned pushed_nesting = ctx->loop_nesting;
ctx->loop_nesting = 0;