anv: Set up VMA heaps independently from memory heaps
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 2 Dec 2019 20:51:30 +0000 (14:51 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 5 Dec 2019 16:59:10 +0000 (10:59 -0600)
commitb47bc0202a846d039ddd613add6ecfde30e6ab7e
treef113de91353d0aaede94e8daee8c6f7afb26c0ba
parent1037b52cf4c3613ab91e11f11245169aff5024c9
anv: Set up VMA heaps independently from memory heaps

Our VMA allocations are really independent from the memory heaps we
expose via the API.  The only thing that really matters is the GTT size
so we can make the high heap the right size.

Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h