r600: refactor step 4 - clean up r600_surface width0 and height0 elements
These two elements are assigned and are not used. Signed-off-by: Patrick Lerda <patrick9876@free.fr> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35967>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user