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:
committed by
Marge Bot
parent
c13135f7c3
commit
b3228e0648
@@ -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)) {
|
||||
|
||||
@@ -50,7 +50,6 @@ struct v3d_resource_slice {
|
||||
|
||||
struct v3d_surface {
|
||||
struct pipe_surface base;
|
||||
uint32_t offset;
|
||||
enum v3d_tiling_mode tiling;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user