[Mesa-stable] [Mesa-dev] [PATCH] i965: Fix streamed state dumping/annotation after the blorp-flush change.

Kenneth Graunke kenneth at whitecape.org
Wed Nov 20 23:56:26 PST 2013


On 11/20/2013 04:50 PM, Eric Anholt wrote:
> 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>
> ---
>  src/mesa/drivers/dri/i965/brw_blorp.cpp | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_blorp.cpp b/src/mesa/drivers/dri/i965/brw_blorp.cpp
> index 4cbcebe..fda86f8 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);
> 

Whoops, yeah.  That shouldn't be there.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-stable mailing list