From a9f21154860e5dba7ad98eeab074c74a091852bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Sun, 17 May 2015 18:38:34 -0700 Subject: [PATCH] vk: Return VK_SUCCESS for all descriptor pool entry points --- src/vulkan/device.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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( -- 2.30.2