lavapipe: Free sorted descriptor array.
Fixes: abc724e440
("lavapipe: sort bindings before creating descriptor set")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9880>
This commit is contained in:
parent
83c92a48b7
commit
61cf77583a
|
@ -172,6 +172,8 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateDescriptorSetLayout(
|
|||
set_layout->shader_stages |= binding->stageFlags;
|
||||
}
|
||||
|
||||
free(bindings);
|
||||
|
||||
set_layout->dynamic_offset_count = dynamic_offset_count;
|
||||
|
||||
*pSetLayout = lvp_descriptor_set_layout_to_handle(set_layout);
|
||||
|
|
Loading…
Reference in New Issue