anv: Remove anv_batch_emit_reloc and just open-code it
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 31 Aug 2022 07:41:51 +0000 (00:41 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 09:40:46 +0000 (09:40 +0000)
commitbc68e7b564318c84faded742e95fa67ccc7ea23f
tree57455e32a4a4044d1ff3465f7e3b06a98abd8999
parent479a999637e3a4a604ee10e1ce1d492273b2e150
anv: Remove anv_batch_emit_reloc and just open-code it

We don't need the relocation offsets anymore, and just want to pin the
BO, and combine the address into a uint64_t.  We can just open code
those two things; it's actually less code.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18208>
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_blorp_exec.c
src/intel/vulkan/genX_cmd_buffer.c