summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-09-30 16:11:59 +0200
committerMarek Olšák <[email protected]>2014-10-04 15:16:14 +0200
commit6c9f61c97e4d06afc5d86e50a83d22d60c35834a (patch)
tree61d9ba212c3c7a1870a1bb54c71a813b8afbf1b5 /src/gallium/drivers/radeonsi
parent7dc016419232f281d7d65f15c065e7587ab5b8db (diff)
radeonsi: remove unused variable si_shader::gs_input_prim
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c2
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index e76b969df87..c5f13be20b8 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -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 =
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index c6026bda6c3..827f79e8d15 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -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 */