anv: Split code to add BO dependencies to execbuf.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 13 Dec 2018 16:06:48 +0000 (08:06 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 17 Jan 2019 23:08:08 +0000 (15:08 -0800)
commit11a5d4620ba289d3b438524862e0f04df0e421b4
tree06807752ed5bd49d5e108a2c8e1773824fe0d431
parentf874604f45b5fd7a46453a37f99d7c6717c8a4f6
anv: Split code to add BO dependencies to execbuf.

This part of the anv_execbuf_add_bo() code is totally independent of the
BO being added. Let's split it out, so we can reuse it later.

v3: rename to anv_execbuf_add_bo_set (Jason).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_batch_chain.c