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

2013-06-28 Thread Eric Anholt
Eric Anholt writes: > 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

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

2013-06-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