i965: Fix streamed state dumping/annotation after the blorp-flush change.
authorEric Anholt <eric@anholt.net>
Wed, 20 Nov 2013 00:00:28 +0000 (16:00 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 23 Nov 2013 00:36:27 +0000 (16:36 -0800)
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" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp.cpp

index e555f46..6b3600d 100644 (file)
@@ -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);