i965/blorp: Skip re-emitting urb config whenever possible
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 15 Apr 2016 10:39:48 +0000 (13:39 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 21 Apr 2016 07:20:03 +0000 (10:20 +0300)
commit69dfb7b2b7f2686f782414bc303f24f584f8f850
treeafc55859517ebfc98a773700c11471f7bf867121
parent7644e8ab6814554420b01a900643ba72bb09b2c9
i965/blorp: Skip re-emitting urb config whenever possible

Otherwise clearing with blorp will regress performance in some
synthetic test cases.

v2: Used vsize >= 2 instead of vsize > 0, and updated the comment.
    Review by Ken in one of the earlier patches revealed this.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen7_blorp.cpp