diff options
author | Gert Wollny <[email protected]> | 2020-05-06 18:48:05 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2020-05-07 11:00:54 +0200 |
commit | 5469fcea75457542b699404b003bfb051a5fc6b0 (patch) | |
tree | 802eb2a7107149683a8d8c61dfa33d5dbda1d83c /src/gallium | |
parent | 79f20eb819e4ca4c09a5602c0d82ac905773cc66 (diff) |
r600: remove some unused variables to silence warnings
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4939>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe_common.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe_common.c b/src/gallium/drivers/r600/r600_pipe_common.c index bafe8241e7a..77b70bf3f53 100644 --- a/src/gallium/drivers/r600/r600_pipe_common.c +++ b/src/gallium/drivers/r600/r600_pipe_common.c @@ -812,8 +812,6 @@ static const char* r600_get_name(struct pipe_screen* pscreen) static float r600_get_paramf(struct pipe_screen* pscreen, enum pipe_capf param) { - struct r600_common_screen *rscreen = (struct r600_common_screen *)pscreen; - switch (param) { case PIPE_CAPF_MAX_LINE_WIDTH: case PIPE_CAPF_MAX_LINE_WIDTH_AA: diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 3ffa7be7291..6036d345531 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -1614,8 +1614,6 @@ static void r600_clear_texture(struct pipe_context *pipe, struct r600_texture *rtex = (struct r600_texture*)tex; struct pipe_surface tmpl = {{0}}; struct pipe_surface *sf; - const struct util_format_description *desc = - util_format_description(tex->format); tmpl.format = tex->format; tmpl.u.tex.first_layer = box->z; |