zink: remove redundant compute program batch ref
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 10 Apr 2023 22:18:16 +0000 (18:18 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Apr 2023 02:49:19 +0000 (02:49 +0000)
this is already handled in the function above

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22612>

src/gallium/drivers/zink/zink_draw.cpp

index 2d4fc4a..3ecf1eb 100644 (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 */