zink: kill dead code
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 21 Jun 2019 13:29:06 +0000 (15:29 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:45 +0000 (08:51 +0000)
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_context.c

index a2ed26267a9b5edc21b9bc2d7aa9c06c4265e77f..81a28288f3bafd28afff6fc1f187d1b758d921b0 100644 (file)
@@ -777,9 +777,6 @@ zink_clear(struct pipe_context *pctx,
       num_rects = 1;
    }
 
-   if (!batch->rp)
-      zink_begin_render_pass(ctx, batch);
-
    vkCmdClearAttachments(batch->cmdbuf,
                          num_attachments, attachments,
                          num_rects, rects);