venus: use common entry point for VkPhysicalDeviceMemoryProperties
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chad Versace <chadversary@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16694>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user