r600: set VGT NUM_INSTANCES as part of the draw command
[mesa.git] / src / mesa / drivers / dri / r600 / r700_state.c
index a2ddebb1cee51e9863725b5189e4c00028a5c7cb..bd0abc06e384708c5b24ea4fed9ba1f68307461b 100644 (file)
@@ -1653,9 +1653,6 @@ void r700InitState(GLcontext * ctx) //-------------------
     r700->VGT_MIN_VTX_INDX.u32All      = 0;
     r700->VGT_INDX_OFFSET.u32All    = 0;
 
-    /* Specify the number of instances */
-    r700->VGT_DMA_NUM_INSTANCES.u32All = 1;
-
     /* default shader connections. */
     r700->SPI_VS_OUT_ID_0.u32All  = 0x03020100;
     r700->SPI_VS_OUT_ID_1.u32All  = 0x07060504;