mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 22:42:22 +00:00
(Vulkan) Add vkDestroyDescriptorPool fp
This commit is contained in:
parent
6023a5f06e
commit
30eac5b778
@ -908,7 +908,7 @@ void vulkan_destroy_descriptor_manager(
|
||||
|
||||
VKFUNC(vkFreeDescriptorSets)(device, node->pool,
|
||||
VULKAN_DESCRIPTOR_MANAGER_BLOCK_SETS, node->sets);
|
||||
vkDestroyDescriptorPool(device, node->pool, NULL);
|
||||
VKFUNC(vkDestroyDescriptorPool)(device, node->pool, NULL);
|
||||
|
||||
free(node);
|
||||
node = next;
|
||||
@ -1163,6 +1163,7 @@ bool vulkan_context_init(gfx_ctx_vulkan_data_t *vk,
|
||||
|
||||
/* Descriptor pools */
|
||||
VK_GET_INSTANCE_PROC_ADDR(vk, vk->context.instance, CreateDescriptorPool);
|
||||
VK_GET_INSTANCE_PROC_ADDR(vk, vk->context.instance, DestroyDescriptorPool);
|
||||
|
||||
/* Descriptor sets */
|
||||
VK_GET_INSTANCE_PROC_ADDR(vk, vk->context.instance, AllocateDescriptorSets);
|
||||
|
@ -196,6 +196,7 @@ typedef struct vulkan_context
|
||||
|
||||
/* Descriptor pools */
|
||||
PFN_vkCreateDescriptorPool vkCreateDescriptorPool;
|
||||
PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool;
|
||||
|
||||
/* Descriptor sets */
|
||||
PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets;
|
||||
|
Loading…
x
Reference in New Issue
Block a user