vk: Improve memory locality of anv_render_pass
authorChad Versace <chad.versace@intel.com>
Wed, 19 Aug 2015 22:10:14 +0000 (15:10 -0700)
committerChad Versace <chad.versace@intel.com>
Thu, 20 Aug 2015 16:31:58 +0000 (09:31 -0700)
commit1c24a191cd41133e72a8e8db605faf508a632079
tree662d4cee17c3d4e8a86339863ba19dabf4d25c4c
parent4eaf90effb871c119034c7e7a53c71bb71a11b1f
vk: Improve memory locality of anv_render_pass

Allocate the pass's array of attachments, anv_render_pass::attachments,
in the same allocation as the pass itself.
src/vulkan/anv_device.c