From: Nanley Chery Date: Wed, 27 Jan 2016 17:29:09 +0000 (-0800) Subject: anv/image: Update usages of isl_surf_get_image_offset_sa X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=308ec0279b341c1d79bb05fa965ab5182bacbe4a;p=mesa.git anv/image: Update usages of isl_surf_get_image_offset_sa --- 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;