aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-06-21 15:29:06 +0200
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:45 +0000
commit249cd3fc134a713986507b3ac7788880ba4946d9 (patch)
tree4ef82d9b88a97b180865f09ef238d3b0b6a21cb6 /src/gallium/drivers
parentd850e2a3f2feabcb622aef56537b0d66ed7ba931 (diff)
zink: kill dead code
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/zink/zink_context.c3
1 files changed, 0 insertions, 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);