From: Chad Versace Date: Sat, 23 Jan 2016 01:51:24 +0000 (-0800) Subject: anv/formats: Rename ambiguous func parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99a48853289372b0709dfe67367d6f339639e35e;p=mesa.git anv/formats: Rename ambiguous func parameter vkGetPhysicalDeviceImageFormatProperties has multiple 'flags' parameters. --- diff --git a/src/vulkan/anv_formats.c b/src/vulkan/anv_formats.c index 8d634ca85f2..1f735a4dcd2 100644 --- a/src/vulkan/anv_formats.c +++ b/src/vulkan/anv_formats.c @@ -420,7 +420,7 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties( VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, - VkImageCreateFlags flags, + VkImageCreateFlags createFlags, VkImageFormatProperties* pImageFormatProperties) { ANV_FROM_HANDLE(anv_physical_device, physical_device, physicalDevice); @@ -479,7 +479,7 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties( type == VK_IMAGE_TYPE_2D && (format_feature_flags & (VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT | VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT)) && - !(flags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT) && + !(createFlags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT) && !(usage & VK_IMAGE_USAGE_STORAGE_BIT)) { sampleCounts = isl_device_get_sample_counts(&physical_device->isl_dev); }