i965: Don't flush the batch at the end of blorp.
authorEric Anholt <eric@anholt.net>
Fri, 8 Feb 2013 02:46:18 +0000 (18:46 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 30 Apr 2013 18:59:23 +0000 (11:59 -0700)
commitdb31bc5cfb7c08c1a32067b09d769c880bc4e954
tree60667adeca77e9b6a8b3fbb437accc7dd2979fd8
parentfb1eed9ec5d9ef341003c3d2f78f30979c50090d
i965: Don't flush the batch at the end of blorp.

Improves GLB2.7 performance 0.13% +/- 0.09% (n=104/105, outliers removed).
More importantly, once color glClear()s are done through blorp in the next
commit, this reduces regression in GLES3 conformance tests that rely on
queueing up many glClear()s and having the GPU report being still busy in
an ARB_sync query after that.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/gen6_blorp.cpp
src/mesa/drivers/dri/i965/gen7_blorp.cpp