From 37764272ab99faa3eb6ca39eaecfd949dfe042f5 Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Tue, 24 May 2022 16:44:32 +0000 Subject: [PATCH] venus: use common entry point for VkPhysicalDeviceMemoryProperties Signed-off-by: Yiwei Zhang Reviewed-by: Chad Versace Part-of: --- src/virtio/vulkan/vn_physical_device.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/virtio/vulkan/vn_physical_device.c b/src/virtio/vulkan/vn_physical_device.c index a51654489ae..1ba46ad9664 100644 --- a/src/virtio/vulkan/vn_physical_device.c +++ b/src/virtio/vulkan/vn_physical_device.c @@ -1503,17 +1503,6 @@ vn_EnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, return VK_SUCCESS; } -void -vn_GetPhysicalDeviceMemoryProperties( - VkPhysicalDevice physicalDevice, - VkPhysicalDeviceMemoryProperties *pMemoryProperties) -{ - struct vn_physical_device *physical_dev = - vn_physical_device_from_handle(physicalDevice); - - *pMemoryProperties = physical_dev->memory_properties.memoryProperties; -} - static struct vn_format_properties_entry * vn_physical_device_get_format_properties( struct vn_physical_device *physical_dev, VkFormat format)