zink: remove redundant compute program batch ref

this is already handled in the function above

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22612>
This commit is contained in:
Mike Blumenkrantz
2023-04-10 18:18:16 -04:00
committed by Marge Bot
parent a76bdcd34c
commit 3baa9ed6d8
-1
View File
@@ -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 */