Mesa (master): i965: Fix streamed state dumping/ annotation after the blorp-flush change.

Eric Anholt anholt at kemper.freedesktop.org
Sat Nov 23 00:38:27 UTC 2013


Module: Mesa
Branch: master
Commit: 5891f981452c1c5ed45b5a7e5fe54a9884ced2b6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5891f981452c1c5ed45b5a7e5fe54a9884ced2b6

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Nov 19 16:00:28 2013 -0800

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" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_blorp.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_blorp.cpp b/src/mesa/drivers/dri/i965/brw_blorp.cpp
index e555f46..6b3600d 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);




More information about the mesa-commit mailing list