summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2016-01-22 17:51:24 -0800
committerChad Versace <[email protected]>2016-01-22 17:51:24 -0800
commit99a48853289372b0709dfe67367d6f339639e35e (patch)
treef19e25847518b6f222db19f842463b4b18d106ce
parent149d5ba64d1ba8fce647c90ed9f9384d461919c2 (diff)
anv/formats: Rename ambiguous func parameter
vkGetPhysicalDeviceImageFormatProperties has multiple 'flags' parameters.
-rw-r--r--src/vulkan/anv_formats.c4
1 files 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);
}