i965: Refactor relocs into a brw_reloc_list structure.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 31 Aug 2017 18:57:01 +0000 (11:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 14 Sep 2017 23:17:36 +0000 (16:17 -0700)
commit1674a0bcbcbc5a7cb9b50f85a3d32d337995adf4
treec49cb81ff5c8674548cd7e28dfc42b53892e13cd
parent1bc44e0e7fa724e11fc35a893e3d6076024b8327
i965: Refactor relocs into a brw_reloc_list structure.

I'm planning on splitting batch and state into separate buffers, at
which point we'll need two relocation lists.  In preparation for that,
this patch refactors the relocation stuff into a structure we can
replicate...which looks a lot like anv_reloc_list.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/intel_batchbuffer.c