[Mesa-dev] [PATCH 15/23] anv/formats: Delete validate_GetPhysicalDeviceFormatProperties

Jason Ekstrand jason at jlekstrand.net
Mon May 16 19:08:20 UTC 2016


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 | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c
index 395f917..b6fe32c 100644
--- a/src/intel/vulkan/anv_formats.c
+++ b/src/intel/vulkan/anv_formats.c
@@ -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,
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list