anv/formats: Delete validate_GetPhysicalDeviceFormatProperties
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 14 May 2016 00:08:16 +0000 (17:08 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 May 2016 19:17:22 +0000 (12:17 -0700)
All it ever did was some extra logging that was useful when initially
bringing up Dota2.  We don't need it anymore.

src/intel/vulkan/anv_formats.c

index 395f91783d71d963f579a9670eea2184f79c3e28..b6fe32c729ad3843f011ef356f58f3f44767108b 100644 (file)
@@ -292,16 +292,6 @@ anv_get_isl_format(VkFormat format, VkImageAspectFlags aspect,
 
 // Format capabilities
 
-void anv_validate_GetPhysicalDeviceFormatProperties(
-    VkPhysicalDevice                            physicalDevice,
-    VkFormat                                    _format,
-    VkFormatProperties*                         pFormatProperties)
-{
-   const struct anv_format *format = anv_format_for_vk_format(_format);
-   fprintf(stderr, "vkGetFormatProperties(%s)\n", format->name);
-   anv_GetPhysicalDeviceFormatProperties(physicalDevice, _format, pFormatProperties);
-}
-
 static VkFormatFeatureFlags
 get_image_format_properties(int gen, enum isl_format base,
                             enum isl_format actual,