gallium/radeon: remove unused r600_texture::pitch_override

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
Marek Olšák 2015-11-21 23:03:52 +01:00
parent 75d64698f0
commit c60d49161e
2 changed files with 0 additions and 2 deletions

View file

@ -190,7 +190,6 @@ struct r600_texture {
struct r600_resource resource;
unsigned size;
unsigned pitch_override;
bool is_depth;
unsigned dirty_level_mask; /* each bit says if that mipmap is compressed */
unsigned stencil_dirty_level_mask; /* each bit says if that mipmap is compressed */

View file

@ -606,7 +606,6 @@ r600_texture_create_object(struct pipe_screen *screen,
resource->b.vtbl = &r600_texture_vtbl;
pipe_reference_init(&resource->b.b.reference, 1);
resource->b.b.screen = screen;
rtex->pitch_override = pitch_in_bytes_override;
/* don't include stencil-only formats which we don't support for rendering */
rtex->is_depth = util_format_has_depth(util_format_description(rtex->resource.b.b.format));