From 249cd3fc134a713986507b3ac7788880ba4946d9 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 21 Jun 2019 15:29:06 +0200 Subject: [PATCH] zink: kill dead code Acked-by: Jordan Justen --- src/gallium/drivers/zink/zink_context.c | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.30.2