mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
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:
parent
c13135f7c3
commit
b3228e0648
2 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue