From: Jason Ekstrand Date: Mon, 6 Jul 2015 22:32:40 +0000 (-0700) Subject: vk: Remove ClearDescriptorSets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5ab5925df3a68f56fc82939461ad6ef59addebd;p=mesa.git vk: Remove ClearDescriptorSets --- diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 93696178e87..aeab77ee6ae 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -2041,7 +2041,6 @@ typedef VkResult (VKAPI *PFN_vkCreateDescriptorSetLayout)(VkDevice device, const typedef VkResult (VKAPI *PFN_vkCreateDescriptorPool)(VkDevice device, VkDescriptorPoolUsage poolUsage, uint32_t maxSets, const VkDescriptorPoolCreateInfo* pCreateInfo, VkDescriptorPool* pDescriptorPool); 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 void (VKAPI *PFN_vkClearDescriptorSets)(VkDevice device, VkDescriptorPool descriptorPool, uint32_t count, const VkDescriptorSet* pDescriptorSets); typedef void (VKAPI *PFN_vkUpdateDescriptors)(VkDevice device, VkDescriptorSet descriptorSet, uint32_t updateCount, const void** ppUpdateArray); typedef VkResult (VKAPI *PFN_vkCreateDynamicViewportState)(VkDevice device, const VkDynamicVpStateCreateInfo* pCreateInfo, VkDynamicVpState* pState); typedef VkResult (VKAPI *PFN_vkCreateDynamicRasterState)(VkDevice device, const VkDynamicRsStateCreateInfo* pCreateInfo, VkDynamicRsState* pState); @@ -2442,12 +2441,6 @@ VkResult VKAPI vkAllocDescriptorSets( VkDescriptorSet* pDescriptorSets, uint32_t* pCount); -void VKAPI vkClearDescriptorSets( - VkDevice device, - VkDescriptorPool descriptorPool, - uint32_t count, - const VkDescriptorSet* pDescriptorSets); - void VKAPI vkUpdateDescriptors( VkDevice device, VkDescriptorSet descriptorSet, diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 53db70e19d5..280ce55bbf1 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -1873,14 +1873,6 @@ VkResult anv_AllocDescriptorSets( return VK_SUCCESS; } -void anv_ClearDescriptorSets( - VkDevice device, - VkDescriptorPool descriptorPool, - uint32_t count, - const VkDescriptorSet* pDescriptorSets) -{ -} - void anv_UpdateDescriptors( VkDevice _device, VkDescriptorSet descriptorSet,