From: Kristian Høgsberg Date: Mon, 18 May 2015 01:38:34 +0000 (-0700) Subject: vk: Return VK_SUCCESS for all descriptor pool entry points X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9f21154860e5dba7ad98eeab074c74a091852bd;p=mesa.git vk: Return VK_SUCCESS for all descriptor pool entry points --- diff --git a/src/vulkan/device.c b/src/vulkan/device.c index da5573d2f72..ae6d0bf9377 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -1529,14 +1529,14 @@ VkResult anv_BeginDescriptorPoolUpdate( VkDevice device, VkDescriptorUpdateMode updateMode) { - stub_return(VK_UNSUPPORTED); + return VK_SUCCESS; } VkResult anv_EndDescriptorPoolUpdate( VkDevice device, VkCmdBuffer cmd) { - stub_return(VK_UNSUPPORTED); + return VK_SUCCESS; } VkResult anv_CreateDescriptorPool( @@ -1546,14 +1546,16 @@ VkResult anv_CreateDescriptorPool( const VkDescriptorPoolCreateInfo* pCreateInfo, VkDescriptorPool* pDescriptorPool) { - stub_return(VK_UNSUPPORTED); + *pDescriptorPool = 1; + + return VK_SUCCESS; } VkResult anv_ResetDescriptorPool( VkDevice device, VkDescriptorPool descriptorPool) { - stub_return(VK_UNSUPPORTED); + return VK_SUCCESS; } VkResult anv_AllocDescriptorSets( @@ -1594,7 +1596,6 @@ void anv_ClearDescriptorSets( uint32_t count, const VkDescriptorSet* pDescriptorSets) { - stub(); } void anv_UpdateDescriptors(