mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 23:30:10 +01:00
r600: remove some unused variables to silence warnings
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4939>
This commit is contained in:
parent
79f20eb819
commit
5469fcea75
2 changed files with 0 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue