vk: Return VK_SUCCESS for all descriptor pool entry points
This commit is contained in:
@@ -1529,14 +1529,14 @@ VkResult anv_BeginDescriptorPoolUpdate(
|
|||||||
VkDevice device,
|
VkDevice device,
|
||||||
VkDescriptorUpdateMode updateMode)
|
VkDescriptorUpdateMode updateMode)
|
||||||
{
|
{
|
||||||
stub_return(VK_UNSUPPORTED);
|
return VK_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
VkResult anv_EndDescriptorPoolUpdate(
|
VkResult anv_EndDescriptorPoolUpdate(
|
||||||
VkDevice device,
|
VkDevice device,
|
||||||
VkCmdBuffer cmd)
|
VkCmdBuffer cmd)
|
||||||
{
|
{
|
||||||
stub_return(VK_UNSUPPORTED);
|
return VK_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
VkResult anv_CreateDescriptorPool(
|
VkResult anv_CreateDescriptorPool(
|
||||||
@@ -1546,14 +1546,16 @@ VkResult anv_CreateDescriptorPool(
|
|||||||
const VkDescriptorPoolCreateInfo* pCreateInfo,
|
const VkDescriptorPoolCreateInfo* pCreateInfo,
|
||||||
VkDescriptorPool* pDescriptorPool)
|
VkDescriptorPool* pDescriptorPool)
|
||||||
{
|
{
|
||||||
stub_return(VK_UNSUPPORTED);
|
*pDescriptorPool = 1;
|
||||||
|
|
||||||
|
return VK_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
VkResult anv_ResetDescriptorPool(
|
VkResult anv_ResetDescriptorPool(
|
||||||
VkDevice device,
|
VkDevice device,
|
||||||
VkDescriptorPool descriptorPool)
|
VkDescriptorPool descriptorPool)
|
||||||
{
|
{
|
||||||
stub_return(VK_UNSUPPORTED);
|
return VK_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
VkResult anv_AllocDescriptorSets(
|
VkResult anv_AllocDescriptorSets(
|
||||||
@@ -1594,7 +1596,6 @@ void anv_ClearDescriptorSets(
|
|||||||
uint32_t count,
|
uint32_t count,
|
||||||
const VkDescriptorSet* pDescriptorSets)
|
const VkDescriptorSet* pDescriptorSets)
|
||||||
{
|
{
|
||||||
stub();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void anv_UpdateDescriptors(
|
void anv_UpdateDescriptors(
|
||||||
|
Reference in New Issue
Block a user