From 3baa9ed6d8ba5be16b64050588ab4594c6fc3c81 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 10 Apr 2023 18:18:16 -0400 Subject: [PATCH] zink: remove redundant compute program batch ref this is already handled in the function above Part-of: --- src/gallium/drivers/zink/zink_draw.cpp | 1 - 1 file changed, 1 deletion(-) 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 */ -- 2.7.4