This was only used for the the non-hardware context code.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
struct brw_sol_state {
uint32_t svbi_0_starting_index;
uint32_t svbi_0_max_index;
- uint32_t offset_0_batch_start;
uint32_t primitives_generated;
uint32_t primitives_written;
bool counting_primitives_generated;
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->ib.type = -1;
/* Mark that the current program cache BO has been used by the GPU.
brw->state.dirty.brw |= BRW_NEW_SOL_INDICES;
brw->sol.svbi_0_starting_index = 0;
brw->sol.svbi_0_max_index = max_index;
- brw->sol.offset_0_batch_start = 0;
if (intel->gen >= 7) {
/* Reset the SOL buffer offset register. */