Commit 927fb507 authored by Rob Clark's avatar Rob Clark 💬

freedreno/a5xx: fix batch leak in fd5 blitter path

Fixes: 3d198926 freedreno: use fd_bc_alloc_batch instead of fd_batch_create.
Signed-off-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
parent 4a1421aa
......@@ -482,6 +482,7 @@ fd5_blitter_blit(struct fd_context *ctx, const struct pipe_blit_info *info)
batch->needs_flush = true;
fd_batch_flush(batch, false, false);
fd_batch_reference(&batch, NULL);
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment