diff options
| author | Tony Barbour <tony@LunarG.com> | 2015-07-10 10:50:45 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-17 10:05:19 -0600 |
| commit | 4efb01f1bcbf9403eaddb428c7684b8ec39344a9 (patch) | |
| tree | 2186e749400f5eb54a60eef87dfe42992a868bb3 /include | |
| parent | c0980d972bffe57c30eaaf149156d9324ae7936d (diff) | |
| download | usermoji-4efb01f1bcbf9403eaddb428c7684b8ec39344a9.tar.xz | |
Bug 14248: Add vkFreeDescriptorSets
Diffstat (limited to 'include')
| -rw-r--r-- | include/vk_layer.h | 1 | ||||
| -rw-r--r-- | include/vulkan.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/vk_layer.h b/include/vk_layer.h index 8cb5f3fa..0881d24f 100644 --- a/include/vk_layer.h +++ b/include/vk_layer.h @@ -99,6 +99,7 @@ typedef struct VkLayerDispatchTable_ PFN_vkDestroyDescriptorPool DestroyDescriptorPool; PFN_vkResetDescriptorPool ResetDescriptorPool; PFN_vkAllocDescriptorSets AllocDescriptorSets; + PFN_vkFreeDescriptorSets FreeDescriptorSets; PFN_vkUpdateDescriptorSets UpdateDescriptorSets; PFN_vkCreateDynamicViewportState CreateDynamicViewportState; PFN_vkDestroyDynamicViewportState DestroyDynamicViewportState; diff --git a/include/vulkan.h b/include/vulkan.h index d9bc8590..f2b35c65 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -2345,6 +2345,7 @@ typedef VkResult (VKAPI *PFN_vkCreateDescriptorPool)(VkDevice device, VkDescript typedef VkResult (VKAPI *PFN_vkDestroyDescriptorPool)(VkDevice device, VkDescriptorPool descriptorPool); typedef VkResult (VKAPI *PFN_vkResetDescriptorPool)(VkDevice device, VkDescriptorPool descriptorPool); typedef VkResult (VKAPI *PFN_vkAllocDescriptorSets)(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorSetUsage setUsage, uint32_t count, const VkDescriptorSetLayout* pSetLayouts, VkDescriptorSet* pDescriptorSets, uint32_t* pCount); +typedef VkResult (VKAPI *PFN_vkFreeDescriptorSets)(VkDevice device, VkDescriptorPool descriptorPool, uint32_t count, const VkDescriptorSet* pDescriptorSets); typedef VkResult (VKAPI *PFN_vkUpdateDescriptorSets)(VkDevice device, uint32_t writeCount, const VkWriteDescriptorSet* pDescriptorWrites, uint32_t copyCount, const VkCopyDescriptorSet* pDescriptorCopies); typedef VkResult (VKAPI *PFN_vkCreateDynamicViewportState)(VkDevice device, const VkDynamicViewportStateCreateInfo* pCreateInfo, VkDynamicViewportState* pState); typedef VkResult (VKAPI *PFN_vkDestroyDynamicViewportState)(VkDevice device, VkDynamicViewportState dynamicViewportState); @@ -2871,6 +2872,12 @@ VkResult VKAPI vkAllocDescriptorSets( VkDescriptorSet* pDescriptorSets, uint32_t* pCount); +VkResult VKAPI vkFreeDescriptorSets( + VkDevice device, + VkDescriptorPool descriptorPool, + uint32_t count, + const VkDescriptorSet* pDescriptorSets); + VkResult VKAPI vkUpdateDescriptorSets( VkDevice device, uint32_t writeCount, |
