From 308ec0279b341c1d79bb05fa965ab5182bacbe4a Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Wed, 27 Jan 2016 09:29:09 -0800 Subject: [PATCH] anv/image: Update usages of isl_surf_get_image_offset_sa --- src/vulkan/anv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c index a0a1312f81d..1af316b4936 100644 --- a/src/vulkan/anv_image.c +++ b/src/vulkan/anv_image.c @@ -784,7 +784,7 @@ anv_image_view_fill_image_param(struct anv_device *device, param->size[2] = surf->logical_level0_px.array_len - view->base_layer; } - isl_surf_get_image_offset_sa(surf, view->base_mip, view->base_layer, 0, + isl_surf_get_image_offset_el(surf, view->base_mip, view->base_layer, 0, ¶m->offset[0], ¶m->offset[1]); param->stride[0] = cpp; -- 2.30.2