From 99a48853289372b0709dfe67367d6f339639e35e Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 22 Jan 2016 17:51:24 -0800 Subject: [PATCH] anv/formats: Rename ambiguous func parameter vkGetPhysicalDeviceImageFormatProperties has multiple 'flags' parameters. --- src/vulkan/anv_formats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.30.2