From 45c93384e519aefba1d28388955b2638f4d26ea3 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 16 May 2016 10:25:54 -0700 Subject: anv: Add a devinfo argument to the get_format functions --- src/intel/vulkan/anv_private.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/intel/vulkan/anv_private.h') diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index fccdbf7c191..99436771249 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1519,14 +1519,14 @@ struct anv_format { }; struct anv_format -anv_get_format(VkFormat format, VkImageAspectFlags aspect, - VkImageTiling tiling); +anv_get_format(const struct brw_device_info *devinfo, VkFormat format, + VkImageAspectFlags aspect, VkImageTiling tiling); static inline enum isl_format -anv_get_isl_format(VkFormat vk_format, VkImageAspectFlags aspect, - VkImageTiling tiling) +anv_get_isl_format(const struct brw_device_info *devinfo, VkFormat vk_format, + VkImageAspectFlags aspect, VkImageTiling tiling) { - return anv_get_format(vk_format, aspect, tiling).isl_format; + return anv_get_format(devinfo, vk_format, aspect, tiling).isl_format; } /** -- cgit v1.2.3