mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 23:00:11 +01:00
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:
parent
4b80ae8c8d
commit
bae978d3eb
2 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue