mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
i965/miptree: Prepare compressed offsets for isl based
v2 (Jason): Simply switch to isl_surf_get_image_offset_el() Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
40e75aba73
commit
c84cb81771
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue