render/vulkan: free pipeline layouts on destroy

(cherry picked from commit e20ae113f8)
This commit is contained in:
Kirill Primak 2024-05-09 18:43:28 +03:00 committed by Simon Zeni
parent a198549ef5
commit cdc63d9983

View file

@ -1665,6 +1665,7 @@ static void vulkan_destroy(struct wlr_renderer *wlr_renderer) {
vkDestroyDescriptorSetLayout(dev->dev, pipeline_layout->ds, NULL);
vkDestroySampler(dev->dev, pipeline_layout->sampler, NULL);
vkDestroySamplerYcbcrConversion(dev->dev, pipeline_layout->ycbcr.conversion, NULL);
free(pipeline_layout);
}
vkDestroySemaphore(dev->dev, renderer->timeline_semaphore, NULL);