From: Eric Anholt Date: Wed, 20 Nov 2013 00:00:28 +0000 (-0800) Subject: i965: Fix streamed state dumping/annotation after the blorp-flush change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5891f981452c1c5ed45b5a7e5fe54a9884ced2b6;p=mesa.git i965: Fix streamed state dumping/annotation after the blorp-flush change. I think I was thinking of the batch command packet cache when I pasted this in, but this counter is only used for dumping out streamed state for INTEL_DEBUG=batch and for putting annotations in our aub files. Cc: "10.0" Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_blorp.cpp b/src/mesa/drivers/dri/i965/brw_blorp.cpp index e555f465656..6b3600d3632 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp.cpp @@ -266,7 +266,6 @@ retry: */ brw->state.dirty.brw = ~0; brw->state.dirty.cache = ~0; - brw->state_batch_count = 0; brw->batch.need_workaround_flush = true; brw->ib.type = -1; intel_batchbuffer_clear_cache(brw);