From: Erik Faye-Lund Date: Fri, 21 Jun 2019 13:29:06 +0000 (+0200) Subject: zink: kill dead code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=249cd3fc134a713986507b3ac7788880ba4946d9;p=mesa.git zink: kill dead code Acked-by: Jordan Justen --- diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index a2ed26267a9..81a28288f3b 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -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);