From 2b3ec91326b7e9181a2c865e5e9e251466092c39 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 5 Aug 2020 11:09:32 -0700 Subject: [PATCH] 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 Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_formats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c index 356497b6381..f0a0d6a72bb 100644 --- a/src/intel/vulkan/anv_formats.c +++ b/src/intel/vulkan/anv_formats.c @@ -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: