Bug 14644 - add poolUsage/maxSets to VkDescriptorPoolCreateInfo
Bug 14644 - vkCreateDescriptorPool should have poolUsage/maxSets as part of VkDescriptorPoolCreateInfo
merge request #342
diff --git a/icd/nulldrv/nulldrv.c b/icd/nulldrv/nulldrv.c
index bb67967..12015e3 100644
--- a/icd/nulldrv/nulldrv.c
+++ b/icd/nulldrv/nulldrv.c
@@ -610,8 +610,6 @@
}
static VkResult nulldrv_desc_pool_create(struct nulldrv_dev *dev,
- VkDescriptorPoolUsage usage,
- uint32_t max_sets,
const VkDescriptorPoolCreateInfo *info,
struct nulldrv_desc_pool **pool_ret)
{
@@ -2273,16 +2271,14 @@
}
ICD_EXPORT VkResult VKAPI vkCreateDescriptorPool(
- VkDevice device,
- VkDescriptorPoolUsage poolUsage,
- uint32_t maxSets,
- const VkDescriptorPoolCreateInfo* pCreateInfo,
- VkDescriptorPool* pDescriptorPool)
+ VkDevice device,
+ const VkDescriptorPoolCreateInfo* pCreateInfo,
+ VkDescriptorPool* pDescriptorPool)
{
NULLDRV_LOG_FUNC;
struct nulldrv_dev *dev = nulldrv_dev(device);
- return nulldrv_desc_pool_create(dev, poolUsage, maxSets, pCreateInfo,
+ return nulldrv_desc_pool_create(dev, pCreateInfo,
(struct nulldrv_desc_pool **) pDescriptorPool);
}