diff options
author | Nicolai Hähnle <[email protected]> | 2016-06-29 14:07:44 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-07-06 10:42:49 +0200 |
commit | 19f8d2a843dc4b3b40b5b85371007e8ecc83186d (patch) | |
tree | 60b83847608434157801394bbb6f6e487ce75ab3 /src | |
parent | 3a1da559c5a4aaf77106ecefbaf03cb0aaf35495 (diff) |
gallium/radeon/winsyses: remove unused stencil_offset
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_winsys.h | 1 | ||||
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_surface.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_surface.c | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h index 5910b000104..0bf6fd97537 100644 --- a/src/gallium/drivers/radeon/radeon_winsys.h +++ b/src/gallium/drivers/radeon/radeon_winsys.h @@ -392,7 +392,6 @@ struct radeon_surf { uint32_t mtilea; uint32_t tile_split; uint32_t stencil_tile_split; - uint64_t stencil_offset; struct radeon_surf_level level[RADEON_SURF_MAX_LEVEL]; struct radeon_surf_level stencil_level[RADEON_SURF_MAX_LEVEL]; uint32_t tiling_index[RADEON_SURF_MAX_LEVEL]; diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c index 081f0e1bcb6..dd033e087e0 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c @@ -455,8 +455,6 @@ static int amdgpu_surface_init(struct radeon_winsys *rws, return r; if (level == 0) { - surf->stencil_offset = surf->stencil_level[0].offset; - /* For 2D modes only. */ if (AddrSurfInfoOut.tileMode >= ADDR_TM_2D_TILED_THIN1) { surf->stencil_tile_split = diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c index c6025ff03d8..0399e5a3680 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c @@ -123,7 +123,6 @@ static void surf_winsys_to_drm(struct radeon_surface *surf_drm, surf_drm->mtilea = surf_ws->mtilea; surf_drm->tile_split = surf_ws->tile_split; surf_drm->stencil_tile_split = surf_ws->stencil_tile_split; - surf_drm->stencil_offset = surf_ws->stencil_offset; for (i = 0; i < RADEON_SURF_MAX_LEVEL; i++) { surf_level_winsys_to_drm(&surf_drm->level[i], &surf_ws->level[i]); @@ -163,7 +162,6 @@ static void surf_drm_to_winsys(struct radeon_drm_winsys *ws, surf_ws->mtilea = surf_drm->mtilea; surf_ws->tile_split = surf_drm->tile_split; surf_ws->stencil_tile_split = surf_drm->stencil_tile_split; - surf_ws->stencil_offset = surf_drm->stencil_offset; surf_ws->macro_tile_index = cik_get_macro_tile_index(surf_ws); |