Skip to content

i915: fix i915_set_vertex_buffers() related refcnt imbalance and remove redundancies

What does this MR do and why?

i915: fix i915_set_vertex_buffers() related refcnt imbalance and remove redundancies

Indeed, this resource was assigned twice and was not properly freed.

For instance, this issue is triggered with:
"piglit/bin/glsl-fs-pointcoord -auto -fbo"
while setting GALLIUM_REFCNT_LOG=refcnt.log.

Fixes: 0278d1fa323c ("gallium: add unbind_num_trailing_slots to set_vertex_buffers")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>

Merge request reports