mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
anv/image: Rename get_wsi_format_modifier_properties_list()
Rename it to get_drm_format_modifier_properties_list() because it is now independent of WSI. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
57d416d423
commit
2b3ec91326
1 changed files with 2 additions and 2 deletions
|
|
@ -817,7 +817,7 @@ get_buffer_format_features(const struct gen_device_info *devinfo,
|
|||
}
|
||||
|
||||
static void
|
||||
get_wsi_format_modifier_properties_list(const struct anv_physical_device *physical_device,
|
||||
get_drm_format_modifier_properties_list(const struct anv_physical_device *physical_device,
|
||||
VkFormat vk_format,
|
||||
VkDrmFormatModifierPropertiesListEXT *list)
|
||||
{
|
||||
|
|
@ -883,7 +883,7 @@ void anv_GetPhysicalDeviceFormatProperties2(
|
|||
/* Use unsigned since some cases are not in the VkStructureType enum. */
|
||||
switch ((unsigned)ext->sType) {
|
||||
case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT:
|
||||
get_wsi_format_modifier_properties_list(physical_device, format,
|
||||
get_drm_format_modifier_properties_list(physical_device, format,
|
||||
(void *)ext);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue