From: Mohamed Ahmed Date: Tue, 14 Mar 2023 12:13:54 +0000 (+0200) Subject: anv: remove GetBufferMemoryRequirements2() X-Git-Tag: upstream/23.3.3~11645 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ada09412f2632cd369a911a48433a9bcb318bfd;p=platform%2Fupstream%2Fmesa.git anv: remove GetBufferMemoryRequirements2() Signed-off-by: Mohamed Ahmed Reviewed-by: Faith Ekstrand Part-of: --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 6aac56c..9a23815 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -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,