anv: Implement aux-map allocator interface
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 1 Apr 2018 20:57:13 +0000 (13:57 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 28 Oct 2019 07:09:13 +0000 (00:09 -0700)
commit062022f2e4bc3024553db897e3984d1a16b28239
tree1f74f8549d8859548cbe16e41accb4fc87a6a196
parentc848ab45f3d27d7d20845f9fec49122f76fafeb5
anv: Implement aux-map allocator interface

This interface allows the aux-map code in the intel/common library to
allocate and free buffers.

Reworks:
 * free gen_buffer in gen_aux_map_buffer_free. (Rafael)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c