anv/image: Update usages of isl_surf_get_image_offset_sa
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 27 Jan 2016 17:29:09 +0000 (09:29 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 Jan 2016 23:12:42 +0000 (15:12 -0800)
src/vulkan/anv_image.c

index a0a1312f81dcb33405413055375a6dd3c6c1dfd4..1af316b49360e2fe977e020db13d19f2784c9b01 100644 (file)
@@ -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,
                                 &param->offset[0],  &param->offset[1]);
 
    param->stride[0] = cpp;