anv: Add a device parameter to anv_execbuf_add_bo
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 29 Oct 2019 20:18:16 +0000 (15:18 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 31 Oct 2019 13:46:09 +0000 (13:46 +0000)
commit9f665d9c1c3e4a8ec16a350033d7223ce714e74a
tree229d9e3be4c46818bc11d53eac6ee7d8a403cbfe
parent63d7a38630ca17ac8c15c231f1afd75259f3417a
anv: Add a device parameter to anv_execbuf_add_bo

We're about to start needing to lookup BO pointers by GEM handle so we
need access to the device.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_batch_chain.c