diff options
author | Chad Versace <[email protected]> | 2015-07-14 16:01:42 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-07-14 18:19:00 -0700 |
commit | 0eeba6b80c192e12f7b7e2c0eeb6c5a9589bb5b7 (patch) | |
tree | 28ae8691cf5db4e47fa5bcfb7e0f66f22c748cae | |
parent | 2b5a4dc5f377c7721c26ae8759280eacd2cf5a6d (diff) |
vk: Add finishmes for VkDescriptorPool
VkDescriptorPool is a stub object. As a consequence, it's impossible to
free descriptor set memory.
-rw-r--r-- | src/vulkan/device.c | 5 |
1 files 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; } |