mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 06:00:30 +01:00
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:
parent
229538d6da
commit
37764272ab
1 changed files with 0 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue