diff options
author | Marek Olšák <[email protected]> | 2016-10-26 13:47:11 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-11-01 22:33:13 +0100 |
commit | e3697b4be6667ca5da997ce4e204e071332f8ee2 (patch) | |
tree | 900f2c69fa898fd68c23e967de213652fe0ab444 /src/gallium/drivers/radeon/r600_texture.c | |
parent | bf4d102ea3419ade6759bf9c3ad9d40c7f9b3c27 (diff) |
gallium/radeon: remove r600_surface::level_info
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index ff45261014a..6c8d5a7c103 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -1756,7 +1756,6 @@ struct pipe_surface *r600_create_surface_custom(struct pipe_context *pipe, unsigned width, unsigned height) { struct r600_common_context *rctx = (struct r600_common_context*)pipe; - struct r600_texture *rtex = (struct r600_texture*)texture; struct r600_surface *surface = CALLOC_STRUCT(r600_surface); if (!surface) @@ -1772,7 +1771,6 @@ struct pipe_surface *r600_create_surface_custom(struct pipe_context *pipe, surface->base.width = width; surface->base.height = height; surface->base.u = templ->u; - surface->level_info = &rtex->surface.level[templ->u.tex.level]; if (texture->target != PIPE_BUFFER) vi_dcc_disable_if_incompatible_format(rctx, texture, |