i965: Rename brw_upload_item_data to brw_alloc_item_data
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 25 Jun 2015 11:31:03 +0000 (14:31 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 13 Aug 2015 10:37:49 +0000 (13:37 +0300)
commitb4897eb70a994c4630b0fde4a66dd6ace833c33a
tree7c774d0e5be585efcfa7a433569398ae5ddf6cca
parent853853b2ac527698215b4290629ec242333e264a
i965: Rename brw_upload_item_data to brw_alloc_item_data

and simplify the interface to take directly the size and to return
the offset. The routine does nothing more than allocate, it doesn't
upload anything.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_state_cache.c