Skip to content
Commit aa89c0a2 authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Dylan Baker
Browse files

iris: Properly unreference extra VBOs for draw parameters



bound_vertex_buffers doesn't include extra draw parameters buffers.
Tracking this correctly is kind of complicated, and iris_destroy_state
isn't exactly in a hot path, so just loop over all VBO bindings.

Fixes: 4122665d (iris: Enable ARB_shader_draw_parameters support)
Reported-by: default avatarSergii Romantsov <sergii.romantsov@globallogic.com>
(cherry picked from commit face2212)
parent 3e156204
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment