anv: Refactor memory type setup
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 17 May 2017 18:42:36 +0000 (11:42 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 23 May 2017 23:46:42 +0000 (16:46 -0700)
commit34581fdd4f149894dfa51777a2f7eb289bd08b71
treee83a4b2892d77628fda093d938c7673b55d12d1b
parentb83b1af6f6936f36db42a8f8b8e0854d0f9491fd
anv: Refactor memory type setup

This makes us walk over the heaps one at a time and add the types for
LLC and !LLC to each heap.

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Cc: "17.1" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_device.c