aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-05-01 15:47:30 +0200
committerMarek Olšák <[email protected]>2016-05-02 22:49:25 +0200
commit5541e11b9a1a4aa3b785d5d426276f9eb4795b61 (patch)
tree09f5dd9c4caa28b0e6f56fd8b7be7d7bb29fc9bd /src/gallium/drivers/radeon
parent20a77397fac5c208761217a4e90ffc7eeb5b9032 (diff)
gallium/radeon: remove stencil_tile_split from metadata
this is a leftover from the days when depth-stencil buffers were allocated by the DDX Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c2
-rw-r--r--src/gallium/drivers/radeon/radeon_winsys.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
index 9aca0c2e30a..67b2a34463c 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -245,7 +245,6 @@ static void r600_texture_init_metadata(struct r600_texture *rtex,
metadata->bankw = surface->bankw;
metadata->bankh = surface->bankh;
metadata->tile_split = surface->tile_split;
- metadata->stencil_tile_split = surface->stencil_tile_split;
metadata->mtilea = surface->mtilea;
metadata->num_banks = surface->num_banks;
metadata->stride = surface->level[0].pitch_bytes;
@@ -1035,7 +1034,6 @@ static struct pipe_resource *r600_texture_from_handle(struct pipe_screen *screen
surface.bankw = metadata.bankw;
surface.bankh = metadata.bankh;
surface.tile_split = metadata.tile_split;
- surface.stencil_tile_split = metadata.stencil_tile_split;
surface.mtilea = metadata.mtilea;
surface.num_banks = metadata.num_banks;
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h
index 626f766bcbc..79c548c8fdf 100644
--- a/src/gallium/drivers/radeon/radeon_winsys.h
+++ b/src/gallium/drivers/radeon/radeon_winsys.h
@@ -293,7 +293,6 @@ struct radeon_bo_metadata {
unsigned bankw;
unsigned bankh;
unsigned tile_split;
- unsigned stencil_tile_split;
unsigned mtilea;
unsigned num_banks;
unsigned stride;