mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
v3dv: don't leak the texture shader state BO from image views
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
a9ce6adf94
commit
71a75a5e78
1 changed files with 3 additions and 0 deletions
|
|
@ -650,6 +650,9 @@ v3dv_DestroyImageView(VkDevice _device,
|
|||
V3DV_FROM_HANDLE(v3dv_device, device, _device);
|
||||
V3DV_FROM_HANDLE(v3dv_image_view, image_view, imageView);
|
||||
|
||||
if (image_view->texture_shader_state)
|
||||
v3dv_bo_free(device, image_view->texture_shader_state);
|
||||
|
||||
vk_free2(&device->alloc, pAllocator, image_view);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue