radeonsi: remove unused variable si_shader::gs_input_prim
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 Sep 2014 14:11:59 +0000 (16:11 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Oct 2014 13:16:14 +0000 (15:16 +0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h

index e76b969df87653bd1969f2aae3d5a74c0a043dcb..c5f13be20b8830ddb5ba89194ad1cb0202472551 100644 (file)
@@ -2867,8 +2867,6 @@ int si_shader_create(struct si_screen *sscreen, struct si_shader *shader)
                bld_base->emit_fetch_funcs[TGSI_FILE_INPUT] = fetch_input_gs;
                bld_base->emit_epilogue = si_llvm_emit_gs_epilogue;
 
-               shader->gs_input_prim =
-                       sel->info.properties[TGSI_PROPERTY_GS_INPUT_PRIM][0];
                shader->gs_output_prim =
                        sel->info.properties[TGSI_PROPERTY_GS_OUTPUT_PRIM][0];
                shader->gs_max_out_vertices =
index c6026bda6c33cd2499cca7855dea9df030c1f3ad..827f79e8d156b3e0b5034d35f85c92a8861a025b 100644 (file)
@@ -172,7 +172,6 @@ struct si_shader {
        struct si_shader_output output[40];
 
        /* geometry shader properties */
-       unsigned                gs_input_prim;
        unsigned                gs_output_prim;
        unsigned                gs_max_out_vertices;
        uint64_t                gs_used_inputs; /* mask of "get_unique_index" bits */