radeonsi: remove unused variable si_pipe_shader::sprite_coord_enable
authorMarek Olšák <marek.olsak@amd.com>
Tue, 16 Sep 2014 15:10:26 +0000 (17:10 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 24 Sep 2014 12:48:02 +0000 (14:48 +0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state_draw.c

index a68c25a0c53b3a493221a59a755d45b1f229622b..df7dbb0241b2af4a89882dabc21d41652689f8fa 100644 (file)
@@ -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;
 };
 
index 2e9d9516d7c6d194263dea230bbfc23228d23ad8..9eeda9de34c7aa0485517a85cc09728b34f8e470 100644 (file)
@@ -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;
 }