radeonsi: don't set VGT_VTX_CNT_EN twice in init_config
authorMarek Olšák <marek.olsak@amd.com>
Sat, 29 Aug 2015 22:16:01 +0000 (00:16 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 1 Sep 2015 19:51:14 +0000 (21:51 +0200)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_state.c

index 20e690b2bcf43f50e0bfaaeec01f1e18cbe8c997..d52b9379bad45bd0421fe420dabb1d35e09dacc0 100644 (file)
@@ -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);