gallium/radeon: remove unused r600_texture::pitch_override
authorMarek Olšák <marek.olsak@amd.com>
Sat, 21 Nov 2015 22:03:52 +0000 (23:03 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 3 Dec 2015 22:41:23 +0000 (23:41 +0100)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_texture.c

index 25a7e4161415bd6be482c080f9566dcc7dd8e9f4..9f2d50c87112d49327fae61b720aa908e3fb58b8 100644 (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 */
index 9b1d8bbac1f53d7d900d672c5c38d39b03b8ee66..3e7f191e7929d175cbb5aa69c7b87408f0bbc45a 100644 (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));