summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/anv_image.c')
-rw-r--r--src/vulkan/anv_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c
index 43245297f0e..248df3d9b42 100644
--- a/src/vulkan/anv_image.c
+++ b/src/vulkan/anv_image.c
@@ -61,10 +61,10 @@ anv_image_view_info_table[] = {
#undef INFO
};
-const struct anv_image_view_info *
+struct anv_image_view_info
anv_image_view_info_for_vk_image_view_type(VkImageViewType type)
{
- return &anv_image_view_info_table[type];
+ return anv_image_view_info_table[type];
}
static const struct anv_surf_type_limits {