mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-21 21:08:23 +02:00
nvk/sampler: Free descriptor table entries
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
b13faff71c
commit
9e549ce08b
1 changed files with 1 additions and 0 deletions
|
|
@ -296,5 +296,6 @@ nvk_DestroySampler(VkDevice _device,
|
|||
if (!sampler)
|
||||
return;
|
||||
|
||||
nvk_descriptor_table_free(device, &device->samplers, sampler->desc_index);
|
||||
vk_object_free(&device->vk, pAllocator, sampler);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue