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:
Patrick Lerda 2025-07-04 14:53:52 +02:00 committed by Marge Bot
parent 31b9e509b0
commit 2bb97f6adc
2 changed files with 0 additions and 7 deletions

View file

@ -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;

View file

@ -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;
}