summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-07-14 16:01:42 -0700
committerChad Versace <[email protected]>2015-07-14 18:19:00 -0700
commit0eeba6b80c192e12f7b7e2c0eeb6c5a9589bb5b7 (patch)
tree28ae8691cf5db4e47fa5bcfb7e0f66f22c748cae
parent2b5a4dc5f377c7721c26ae8759280eacd2cf5a6d (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.c5
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;
}