zink: kill dead code
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
d850e2a3f2
commit
249cd3fc13
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue