mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 06:10:13 +01:00
freedreno: Fix internal VBO reference leak
It appears that this extra ref is no longer needed. And not dropped
anywhere.
Fixes: b3133e250e ("gallium: add pipe_context::resource_release to eliminate buffer refcounting")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14315
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38643>
This commit is contained in:
parent
99a806420a
commit
cccdbbc360
1 changed files with 0 additions and 1 deletions
|
|
@ -322,7 +322,6 @@ fd_blitter_clear(struct pipe_context *pctx, unsigned buffers,
|
|||
pctx->set_viewport_states(pctx, 0, 1, &vp);
|
||||
|
||||
pctx->bind_vertex_elements_state(pctx, ctx->solid_vbuf_state.vtx);
|
||||
pipe_reference(NULL, &ctx->solid_vbuf_state.vertexbuf.vb[0].buffer.resource->reference);
|
||||
pctx->set_vertex_buffers(pctx, 1, &ctx->solid_vbuf_state.vertexbuf.vb[0]);
|
||||
pctx->set_stream_output_targets(pctx, 0, NULL, NULL, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue