mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
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:
parent
31b9e509b0
commit
2bb97f6adc
2 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue