i965: Don't bother flushing the batch if it doesn't ref our mt to map.
authorEric Anholt <eric@anholt.net>
Wed, 23 Apr 2014 20:45:22 +0000 (13:45 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 26 Apr 2014 01:19:55 +0000 (18:19 -0700)
commit07730e9463637a62e41a9783374102b4181ba960
treef8e7e840ed3ac4b7f00bc619f14ab0d7a94b6218
parent17860309f17de78e729f77e86101004f61f6bcf3
i965: Don't bother flushing the batch if it doesn't ref our mt to map.

-1.1372% +/- 0.858033% effect on cairo runtime on glamor (n=175).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c