<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 19, 2017 at 12:56 PM, Topi Pohjolainen <span dir="ltr"><<a href="mailto:topi.pohjolainen@gmail.com" target="_blank">topi.pohjolainen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">v2 (Jason): Simply switch to isl_surf_get_image_offset_el()<br>
<span class=""><br>
Signed-off-by: Topi Pohjolainen <<a href="mailto:topi.pohjolainen@intel.com">topi.pohjolainen@intel.com</a>><br>
---<br>
</span> src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c<br>
index 036e3307be..09e8222013 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c<br>
@@ -1477,7 +1477,7 @@ intel_miptree_get_image_<wbr>offset(const struct intel_mipmap_tree *mt,<br>
<br>
const unsigned z = mt->surf.dim == ISL_SURF_DIM_3D ? slice : 0;<br>
slice = mt->surf.dim == ISL_SURF_DIM_3D ? 0 : slice;<br>
- isl_surf_get_image_offset_sa(&<wbr>mt->surf, level, slice, z,<br>
+ isl_surf_get_image_offset_el(&<wbr>mt->surf, level, slice, z,<br>
&x_offset_sa, &y_offset_sa);<br>
<br>
*x = x_offset_sa;<br>
<div class="HOEnZb"><div class="h5">--<br>
2.11.0<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div>