summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-04-12 17:48:16 +0200
committerMarek Olšák <[email protected]>2017-04-17 01:22:11 +0200
commit777f305840271a2f7ddf08a15ea8ad24f0bc04fc (patch)
tree50d82293184ef1186ea764cc9e786dbd200483ea
parent5438e39fae4faaae522cdec3edfd34c0478464e4 (diff)
radeonsi: don't set VGT_GS_MODE as part of the GS state
The VS state sets it. Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index c52ffd90f76..9d05871b8e2 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -583,8 +583,6 @@ static void si_shader_gs(struct si_shader *shader)
if (!pm4)
return;
- si_pm4_set_reg(pm4, R_028A40_VGT_GS_MODE, si_vgt_gs_mode(shader->selector));
-
offset = num_components[0] * sel->gs_max_out_vertices;
si_pm4_set_reg(pm4, R_028A60_VGT_GSVS_RING_OFFSET_1, offset);
if (max_stream >= 1)