lima: drop tiled_w and tiled_h from lima_surface

These were written but not used anywhere.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35749>
This commit is contained in:
Erico Nunes 2025-06-18 15:00:00 +02:00 committed by Marge Bot
parent 4b80ae8c8d
commit bae978d3eb
2 changed files with 0 additions and 4 deletions

View file

@ -585,9 +585,6 @@ lima_surface_create(struct pipe_context *pctx,
psurf->first_layer = surf_tmpl->first_layer;
psurf->last_layer = surf_tmpl->last_layer;
surf->tiled_w = align(u_minify(pres->width0, level), 16) >> 4;
surf->tiled_h = align(u_minify(pres->height0, level), 16) >> 4;
surf->reload = 0;
if (util_format_has_stencil(util_format_description(psurf->format)))
surf->reload |= PIPE_CLEAR_STENCIL;

View file

@ -64,7 +64,6 @@ struct lima_resource {
struct lima_surface {
struct pipe_surface base;
int tiled_w, tiled_h;
unsigned reload;
};