diff --git a/src/gallium/drivers/asahi/agx_batch.c b/src/gallium/drivers/asahi/agx_batch.c index 584fc158edb..b769385ec55 100644 --- a/src/gallium/drivers/asahi/agx_batch.c +++ b/src/gallium/drivers/asahi/agx_batch.c @@ -310,7 +310,7 @@ agx_get_batch_for_framebuffer(struct agx_context *ctx, struct agx_batch * agx_get_batch(struct agx_context *ctx) { - if (!ctx->batch) { + if (!ctx->batch || agx_batch_is_compute(ctx->batch)) { ctx->batch = agx_get_batch_for_framebuffer(ctx, &ctx->framebuffer); agx_dirty_all(ctx); }