v3d: Remove never used offset from v3d_surface

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35288>
This commit is contained in:
Jose Maria Casanova Crespo 2025-03-28 11:44:13 +01:00 committed by Marge Bot
parent c13135f7c3
commit b3228e0648
2 changed files with 0 additions and 4 deletions

View file

@ -1098,9 +1098,6 @@ v3d_create_surface(struct pipe_context *pctx,
psurf->level = level;
psurf->first_layer = surf_tmpl->first_layer;
psurf->last_layer = surf_tmpl->last_layer;
surface->offset = v3d_layer_offset(ptex, level,
psurf->first_layer);
surface->tiling = slice->tiling;
if (util_format_is_depth_or_stencil(psurf->format)) {

View file

@ -50,7 +50,6 @@ struct v3d_resource_slice {
struct v3d_surface {
struct pipe_surface base;
uint32_t offset;
enum v3d_tiling_mode tiling;
/**