summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-05-16 10:25:54 -0700
committerJason Ekstrand <[email protected]>2016-05-17 12:17:22 -0700
commit45c93384e519aefba1d28388955b2638f4d26ea3 (patch)
treebb4eca1ce16d8c001dc4d2e04c940311fddc6ee4 /src/intel/vulkan/anv_private.h
parent100db3d31c1fd9284fc96132dccde1fa289a88c3 (diff)
anv: Add a devinfo argument to the get_format functions
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h10
1 files changed, 5 insertions, 5 deletions
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;
}
/**