i965/urb: Allow blorp to record current settings
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 23 May 2016 06:22:01 +0000 (09:22 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 4 Jul 2016 17:43:11 +0000 (20:43 +0300)
commit2a60654f568bc4a3808407a29b5c93007d921d44
tree3d587c88b5fdb66499ae3fe4073ed74ad2a72b48
parent39fdee6b2df3cb297c0d2aba285f6991824867b9
i965/urb: Allow blorp to record current settings

This makes it possible to skip urb re-configuration if the
subsequent renders agree with the settings.

Also allows blorp to allocate the maximun amount of vs entries
available. Core upload logic already knows how to calculate this.
Helps one synthetic benchmark.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen7_blorp.c
src/mesa/drivers/dri/i965/gen7_urb.c