From: Marek Olšák Date: Tue, 16 Sep 2014 15:10:26 +0000 (+0200) Subject: radeonsi: remove unused variable si_pipe_shader::sprite_coord_enable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a768b43bc36c98451e4b3669a7e6a22769fa4cb7;p=mesa.git radeonsi: remove unused variable si_pipe_shader::sprite_coord_enable Reviewed-by: Michel Dänzer --- diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index a68c25a0c53..df7dbb0241b 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -189,7 +189,6 @@ struct si_pipe_shader { unsigned db_shader_control; unsigned cb_shader_mask; bool cb0_is_integer; - unsigned sprite_coord_enable; union si_shader_key key; }; diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 2e9d9516d7c..9eeda9de34c 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -321,7 +321,6 @@ static void si_pipe_shader_ps(struct pipe_context *ctx, struct si_pipe_shader *s si_pm4_set_reg(pm4, R_02880C_DB_SHADER_CONTROL, db_shader_control); shader->cb0_is_integer = sctx->framebuffer.cb0_is_integer; - shader->sprite_coord_enable = sctx->sprite_coord_enable; sctx->b.flags |= R600_CONTEXT_INV_SHADER_CACHE; }