From ea5fbe19570d6ba006561f79b9a20245e2dcd870 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 6 Jul 2015 15:32:27 -0700 Subject: [PATCH] vk: Remove begin/end descriptor pool update --- include/vulkan/vulkan.h | 10 ---------- src/vulkan/device.c | 14 -------------- 2 files changed, 24 deletions(-) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 8f4833ae965..93696178e87 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -2038,8 +2038,6 @@ typedef VkResult (VKAPI *PFN_vkLoadPipelineDerivative)(VkDevice device, size_t d typedef VkResult (VKAPI *PFN_vkCreatePipelineLayout)(VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, VkPipelineLayout* pPipelineLayout); typedef VkResult (VKAPI *PFN_vkCreateSampler)(VkDevice device, const VkSamplerCreateInfo* pCreateInfo, VkSampler* pSampler); typedef VkResult (VKAPI *PFN_vkCreateDescriptorSetLayout)(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayout* pSetLayout); -typedef VkResult (VKAPI *PFN_vkBeginDescriptorPoolUpdate)(VkDevice device, VkDescriptorUpdateMode updateMode); -typedef VkResult (VKAPI *PFN_vkEndDescriptorPoolUpdate)(VkDevice device, VkCmdBuffer cmd); 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); @@ -2424,14 +2422,6 @@ VkResult VKAPI vkCreateDescriptorSetLayout( const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayout* pSetLayout); -VkResult VKAPI vkBeginDescriptorPoolUpdate( - VkDevice device, - VkDescriptorUpdateMode updateMode); - -VkResult VKAPI vkEndDescriptorPoolUpdate( - VkDevice device, - VkCmdBuffer cmd); - VkResult VKAPI vkCreateDescriptorPool( VkDevice device, VkDescriptorPoolUsage poolUsage, diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 7c0f759460f..53db70e19d5 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -1817,20 +1817,6 @@ VkResult anv_CreateDescriptorSetLayout( return VK_SUCCESS; } -VkResult anv_BeginDescriptorPoolUpdate( - VkDevice device, - VkDescriptorUpdateMode updateMode) -{ - return VK_SUCCESS; -} - -VkResult anv_EndDescriptorPoolUpdate( - VkDevice device, - VkCmdBuffer cmd) -{ - return VK_SUCCESS; -} - VkResult anv_CreateDescriptorPool( VkDevice device, VkDescriptorPoolUsage poolUsage, -- 2.30.2