anv: remove GetBufferMemoryRequirements2()

Signed-off-by: Mohamed Ahmed <mohamedahmedegypt2001@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21898>
This commit is contained in:
Mohamed Ahmed 2023-03-14 14:13:54 +02:00 committed by Marge Bot
parent 2649ee0724
commit 5ada09412f

View file

@ -4581,20 +4581,6 @@ anv_get_buffer_memory_requirements(struct anv_device *device,
}
}
void anv_GetBufferMemoryRequirements2(
VkDevice _device,
const VkBufferMemoryRequirementsInfo2* pInfo,
VkMemoryRequirements2* pMemoryRequirements)
{
ANV_FROM_HANDLE(anv_device, device, _device);
ANV_FROM_HANDLE(anv_buffer, buffer, pInfo->buffer);
anv_get_buffer_memory_requirements(device,
buffer->vk.size,
buffer->vk.usage,
pMemoryRequirements);
}
void anv_GetDeviceBufferMemoryRequirementsKHR(
VkDevice _device,
const VkDeviceBufferMemoryRequirements* pInfo,