From 9e549ce08bc45551bd18a18cbbd1630221b0bcb2 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Jan 2023 20:11:56 -0600 Subject: [PATCH] nvk/sampler: Free descriptor table entries Part-of: --- src/nouveau/vulkan/nvk_sampler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nouveau/vulkan/nvk_sampler.c b/src/nouveau/vulkan/nvk_sampler.c index b192c98bd13..de7d23eff63 100644 --- a/src/nouveau/vulkan/nvk_sampler.c +++ b/src/nouveau/vulkan/nvk_sampler.c @@ -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); }