From: Mike Blumenkrantz Date: Mon, 10 Apr 2023 22:18:16 +0000 (-0400) Subject: zink: remove redundant compute program batch ref X-Git-Tag: upstream/23.3.3~9643 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3baa9ed6d8ba5be16b64050588ab4594c6fc3c81;p=platform%2Fupstream%2Fmesa.git zink: remove redundant compute program batch ref this is already handled in the function above Part-of: --- diff --git a/src/gallium/drivers/zink/zink_draw.cpp b/src/gallium/drivers/zink/zink_draw.cpp index 2d4fc4a..3ecf1eb 100644 --- a/src/gallium/drivers/zink/zink_draw.cpp +++ b/src/gallium/drivers/zink/zink_draw.cpp @@ -1047,7 +1047,6 @@ zink_launch_grid(struct pipe_context *pctx, const struct pipe_grid_info *info) if (BATCH_CHANGED) { zink_update_descriptor_refs(ctx, true); - zink_batch_reference_program(&ctx->batch, &ctx->curr_compute->base); } if (ctx->compute_dirty) { /* update inlinable constants */