From: Marek Olšák Date: Sat, 29 Aug 2015 22:16:01 +0000 (+0200) Subject: radeonsi: don't set VGT_VTX_CNT_EN twice in init_config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a67e78bb8f66a5a142222fdb4d193da1a03ed22;p=mesa.git radeonsi: don't set VGT_VTX_CNT_EN twice in init_config Reviewed-by: Alex Deucher Acked-by: Christian König --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 20e690b2bcf..d52b9379bad 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -3279,7 +3279,6 @@ static void si_init_config(struct si_context *sctx) si_pm4_set_reg(pm4, R_028A5C_VGT_GS_PER_VS, 0x2); si_pm4_set_reg(pm4, R_028A8C_VGT_PRIMITIVEID_RESET, 0x0); - si_pm4_set_reg(pm4, R_028AB8_VGT_VTX_CNT_EN, 0); si_pm4_set_reg(pm4, R_028B28_VGT_STRMOUT_DRAW_OPAQUE_OFFSET, 0); si_pm4_set_reg(pm4, R_028B98_VGT_STRMOUT_BUFFER_CONFIG, 0x0);