i965/blorp: patch jump counters also for endif
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 21 Jan 2014 08:31:10 +0000 (10:31 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 22 Jan 2014 06:13:32 +0000 (08:13 +0200)
commit89347dd61b7271bcca450332454253128eb10d4e
tree8792dce60a3b2ee01c192a330bb256e1374dc971
parent1032c33cb93f1e8839be0f743b81492c2ca87e39
i965/blorp: patch jump counters also for endif

No known bugs fixed but this is now in line with fs-generator.
No regresssions on IVB.

Eric further explained that:

  "The endif jump, since it's forward, is just an optimization to
   have set right -- otherwise, the GPU will just step forward
   instruction by instruction until it hits something else that
   updates the per-channel PC."

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
src/mesa/drivers/dri/i965/test_blorp_blit_eu_gen.cpp