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:
@@ -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;
|
||||
|
||||
@@ -64,7 +64,6 @@ struct lima_resource {
|
||||
|
||||
struct lima_surface {
|
||||
struct pipe_surface base;
|
||||
int tiled_w, tiled_h;
|
||||
unsigned reload;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user