aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2017-07-03 12:57:57 +0300
committerTopi Pohjolainen <[email protected]>2017-07-20 11:32:21 +0300
commitc84cb81771ac72880d0d40529e3952b361b3a4c1 (patch)
tree6207b9215b9a2e522878ca386dcdd45727eeb389 /src/mesa
parent40e75aba730ddeb41ca4bbc25caa61054f2bbc99 (diff)
i965/miptree: Prepare compressed offsets for isl based
v2 (Jason): Simply switch to isl_surf_get_image_offset_el() Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/intel_mipmap_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index 619b00567ed..3d45a7322ee 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
@@ -1477,7 +1477,7 @@ intel_miptree_get_image_offset(const struct intel_mipmap_tree *mt,
const unsigned z = mt->surf.dim == ISL_SURF_DIM_3D ? slice : 0;
slice = mt->surf.dim == ISL_SURF_DIM_3D ? 0 : slice;
- isl_surf_get_image_offset_sa(&mt->surf, level, slice, z,
+ isl_surf_get_image_offset_el(&mt->surf, level, slice, z,
&x_offset_sa, &y_offset_sa);
*x = x_offset_sa;