fixing vulkan issue

This commit is contained in:
2025-04-13 19:56:59 +02:00
parent 4efceae8a5
commit a18aaab215
2 changed files with 1 additions and 2 deletions

View File

@@ -448,13 +448,11 @@ void VulkanDestroyDescriptorSetPool(VulkanDescriptorSetPool* pool)
{
if(pool->used_sets[i] != PULSE_NULLPTR)
{
vulkan_device->vkDestroyDescriptorSetLayout(vulkan_device->device, pool->used_sets[i]->layout->layout, PULSE_NULLPTR);
free(pool->used_sets[i]);
pool->used_sets[i] = PULSE_NULLPTR;
}
if(pool->free_sets[i] != PULSE_NULLPTR)
{
vulkan_device->vkDestroyDescriptorSetLayout(vulkan_device->device, pool->free_sets[i]->layout->layout, PULSE_NULLPTR);
free(pool->free_sets[i]);
pool->free_sets[i] = PULSE_NULLPTR;
}

View File

@@ -51,6 +51,7 @@ bool VulkanInitLoader()
};
#else
const char* libnames[] = {
"/home/kbz8/Documents/SwiftShader/build/bin/libvulkan.so.1",
"libvulkan.so.1",
"libvulkan.so"
};