summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/amdgpu
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-06-29 14:07:44 +0200
committerNicolai Hähnle <[email protected]>2016-07-06 10:42:49 +0200
commit19f8d2a843dc4b3b40b5b85371007e8ecc83186d (patch)
tree60b83847608434157801394bbb6f6e487ce75ab3 /src/gallium/winsys/amdgpu
parent3a1da559c5a4aaf77106ecefbaf03cb0aaf35495 (diff)
gallium/radeon/winsyses: remove unused stencil_offset
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu')
-rw-r--r--src/gallium/winsys/amdgpu/drm/amdgpu_surface.c2
1 files changed, 0 insertions, 2 deletions
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 =