zink: return after blitting
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 19 Jun 2019 13:43:40 +0000 (15:43 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:44 +0000 (08:51 +0000)
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_context.c

index 9bfb13d7eded25855beb2206e886d843a34d8281..3961065e86a268073fd48a7d12af478a641be303 100644 (file)
@@ -1013,6 +1013,7 @@ zink_blit(struct pipe_context *pctx,
       util_blitter_save_rasterizer(ctx->blitter, ctx->gfx_pipeline_state.rast_state);
 
       util_blitter_blit(ctx->blitter, info);
+      return;
    }
 
    struct zink_resource *src = zink_resource(info->src.resource);