The only user of this case is iris which initializes offset_B to 0 so
there's no real bug here. However, it is unexpected from an API PoV.
Fixes:
9946120d2b4e "intel/isl: Add more cases to isl_surf_get_uncompressed_surf"
Acked-by: Ivan Briano <ivan.briano@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11765>
*ucompr_surf = *surf;
ucompr_surf->levels = 1;
+ /* The surface mostly stays as-is; there is no offset */
+ *offset_B = 0;
+
/* The view remains the same */
*ucompr_view = *view;
} else {