i965: Unify vertex buffer setup
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Sun, 15 May 2016 06:42:39 +0000 (09:42 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 4 Jul 2016 05:33:41 +0000 (08:33 +0300)
commit575c8cbb540323a8a3065b8b16db378ff763b2e6
treed9fc8b30959582af625a9fbd96dcf92ec257e536
parentbdab945edde9d54dbd57659bae5fa5519a4be21f
i965: Unify vertex buffer setup

On gen >= 8 one doesn't provide ending address but number of bytes
available. This is relative to the given offset.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/gen8_draw_upload.c