---
 src/intel/vulkan/anv_private.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 60b05186c19..01aeb216597 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1679,7 +1679,7 @@ struct anv_format {
 struct anv_format ATTRIBUTE_PURE
 anv_get_raw_format(const struct gen_device_info *devinfo, VkFormat vk_format);
 
-struct anv_format
+struct anv_format ATTRIBUTE_PURE
 anv_get_format(const struct gen_device_info *devinfo, VkFormat format,
                VkImageAspectFlags aspect, VkImageTiling tiling);
 
@@ -1688,7 +1688,7 @@ anv_get_raw_isl_format(const struct gen_device_info 
*devinfo, VkFormat vk_format
    return anv_get_raw_format(devinfo, vk_format).isl_format;
 }
 
-static inline enum isl_format
+static inline enum isl_format ATTRIBUTE_PURE
 anv_get_isl_format(const struct gen_device_info *devinfo, VkFormat vk_format,
                    VkImageAspectFlags aspect, VkImageTiling tiling)
 {
-- 
2.12.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to