brw->state_batch_count = 0;
+ /* Gen7 needs to track what the real transform feedback vertex count was at
+ * the start of the batch, since the kernel will be resetting the offset to
+ * 0.
+ */
+ brw->sol.offset_0_batch_start = brw->sol.svbi_0_starting_index;
+
brw->vb.nr_current_buffers = 0;
brw->ib.type = -1;