diff --git a/src/gallium/drivers/r600/r600_pipe_common.h b/src/gallium/drivers/r600/r600_pipe_common.h index 7fadcefcabb..10f0869cdcc 100644 --- a/src/gallium/drivers/r600/r600_pipe_common.h +++ b/src/gallium/drivers/r600/r600_pipe_common.h @@ -208,10 +208,6 @@ struct r600_texture { struct r600_surface { struct pipe_surface base; - /* These can vary with block-compressed textures. */ - unsigned width0; - unsigned height0; - bool color_initialized; bool depth_initialized; diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index d9b3fb57264..77e12cbff93 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -1508,9 +1508,6 @@ struct pipe_surface *r600_create_surface_custom(struct pipe_context *pipe, surface->base.first_layer = templ->first_layer; surface->base.last_layer = templ->last_layer; - surface->width0 = width0; - surface->height0 = height0; - return &surface->base; }