Skip to content

Commit

Permalink
venus: use common entry point for VkPhysicalDeviceMemoryProperties
Browse files Browse the repository at this point in the history
Signed-off-by: Yiwei Zhang <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16694>
  • Loading branch information
zhangyiwei authored and Marge Bot committed May 24, 2022
1 parent 229538d commit 3776427
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/virtio/vulkan/vn_physical_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3776427

Please sign in to comment.