From 0eeba6b80c192e12f7b7e2c0eeb6c5a9589bb5b7 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 14 Jul 2015 16:01:42 -0700 Subject: [PATCH] vk: Add finishmes for VkDescriptorPool VkDescriptorPool is a stub object. As a consequence, it's impossible to free descriptor set memory. --- src/vulkan/device.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vulkan/device.c b/src/vulkan/device.c index d09a12b1b31..1de60d4fc8e 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -2062,8 +2062,8 @@ VkResult anv_CreateDescriptorPool( const VkDescriptorPoolCreateInfo* pCreateInfo, VkDescriptorPool* pDescriptorPool) { + anv_finishme("VkDescriptorPool is a stub"); *pDescriptorPool = 1; - return VK_SUCCESS; } @@ -2071,7 +2071,7 @@ VkResult anv_DestroyDescriptorPool( VkDevice _device, VkDescriptorPool _pool) { - /* VkDescriptorPool is a dummy object. */ + anv_finishme("VkDescriptorPool is a stub: free the pool's descriptor sets"); return VK_SUCCESS; } @@ -2079,6 +2079,7 @@ VkResult anv_ResetDescriptorPool( VkDevice device, VkDescriptorPool descriptorPool) { + anv_finishme("VkDescriptorPool is a stub: free the pool's descriptor sets"); return VK_SUCCESS; } -- 2.30.2