Re: [Mesa-dev] [PATCH 8/8] i965: Avoid flushing the batch for every blorp op.

2013-08-29 Thread Paul Berry
On 28 August 2013 15:31, Eric Anholt wrote: > Paul Berry writes: > > > On 27 August 2013 15:21, Eric Anholt wrote: > > > >> This brings over the batch-wrap-prevention and aperture space checking > >> code from the normal brw_draw.c path, so that we don't need to flush the > >> batch every time.

Re: [Mesa-dev] [PATCH 8/8] i965: Avoid flushing the batch for every blorp op.

2013-08-28 Thread Eric Anholt
Paul Berry writes: > On 27 August 2013 15:21, Eric Anholt wrote: > >> This brings over the batch-wrap-prevention and aperture space checking >> code from the normal brw_draw.c path, so that we don't need to flush the >> batch every time. >> >> There's a risk here if the intel_emit_post_sync_nonz

Re: [Mesa-dev] [PATCH 8/8] i965: Avoid flushing the batch for every blorp op.

2013-08-28 Thread Paul Berry
On 27 August 2013 15:21, Eric Anholt wrote: > This brings over the batch-wrap-prevention and aperture space checking > code from the normal brw_draw.c path, so that we don't need to flush the > batch every time. > > There's a risk here if the intel_emit_post_sync_nonzero_flush() call isn't > high

[Mesa-dev] [PATCH 8/8] i965: Avoid flushing the batch for every blorp op.

2013-08-27 Thread Eric Anholt
This brings over the batch-wrap-prevention and aperture space checking code from the normal brw_draw.c path, so that we don't need to flush the batch every time. There's a risk here if the intel_emit_post_sync_nonzero_flush() call isn't high enough up in the state emit sequences -- before, we impl