summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-07-14 17:04:46 -0700
committerJason Ekstrand <[email protected]>2015-07-14 17:04:46 -0700
commit2c4dc92f405e705a5487bab0bae32b350608f960 (patch)
treec4b36f7064908a397c5d764284bec45c97daf054 /src
parentd7f44852be4924b32d55d43abfd31760ad330954 (diff)
vk/vulkan.h: Rename FormatInfo to FormatProperties
Diffstat (limited to 'src')
-rw-r--r--src/vulkan/formats.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/vulkan/formats.c b/src/vulkan/formats.c
index a00dc8df75a..361dd70fa3e 100644
--- a/src/vulkan/formats.c
+++ b/src/vulkan/formats.c
@@ -245,20 +245,20 @@ struct surface_format_info {
extern const struct surface_format_info surface_formats[];
-VkResult anv_validate_GetPhysicalDeviceFormatInfo(
+VkResult anv_validate_GetPhysicalDeviceFormatProperties(
VkPhysicalDevice physicalDevice,
VkFormat _format,
- VkFormatProperties* pFormatInfo)
+ VkFormatProperties* pFormatProperties)
{
const struct anv_format *format = anv_format_for_vk_format(_format);
- fprintf(stderr, "vkGetFormatInfo(%s)\n", format->name);
- return anv_GetPhysicalDeviceFormatInfo(physicalDevice, _format, pFormatInfo);
+ fprintf(stderr, "vkGetFormatProperties(%s)\n", format->name);
+ return anv_GetPhysicalDeviceFormatProperties(physicalDevice, _format, pFormatProperties);
}
-VkResult anv_GetPhysicalDeviceFormatInfo(
+VkResult anv_GetPhysicalDeviceFormatProperties(
VkPhysicalDevice physicalDevice,
VkFormat _format,
- VkFormatProperties* pFormatInfo)
+ VkFormatProperties* pFormatProperties)
{
ANV_FROM_HANDLE(anv_physical_device, physical_device, physicalDevice);
const struct surface_format_info *info;
@@ -296,14 +296,14 @@ VkResult anv_GetPhysicalDeviceFormatInfo(
linear |= VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT;
}
- pFormatInfo->linearTilingFeatures = linear;
- pFormatInfo->optimalTilingFeatures = tiled;
+ pFormatProperties->linearTilingFeatures = linear;
+ pFormatProperties->optimalTilingFeatures = tiled;
return VK_SUCCESS;
unsupported:
- pFormatInfo->linearTilingFeatures = 0;
- pFormatInfo->optimalTilingFeatures = 0;
+ pFormatProperties->linearTilingFeatures = 0;
+ pFormatProperties->optimalTilingFeatures = 0;
return VK_SUCCESS;
}