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:Sergii Romantsov <sergii.romantsov@globallogic.com> (cherry picked from commit face2212)
Loading
Please register or sign in to comment