mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
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/10144>
This commit is contained in:
parent
80ee3d7390
commit
359d8ec06e
1 changed files with 2 additions and 0 deletions
|
|
@ -179,6 +179,8 @@ VkResult 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…
Add table
Reference in a new issue