vk: Store bo pointer in anv_image and anv_buffer
authorKristian Høgsberg <kristian.h.kristensen@intel.com>
Tue, 12 May 2015 05:19:58 +0000 (22:19 -0700)
committerKristian Høgsberg <kristian.h.kristensen@intel.com>
Tue, 12 May 2015 06:25:28 +0000 (23:25 -0700)
commit099faa1a2b339baf1dee2ee9c099e7457df2fce1
treea18fe131ad2ccf3a9c9d1fffa91978fc0a6f1066
parent4f25f5d86cf38c94eb27b98695e0bdf7523af779
vk: Store bo pointer in anv_image and anv_buffer

We don't need to point back to the memory object the bo came from.
Pointing directly to a bo lets us bind images and buffers to other
bos - like our allocator bos.
src/vulkan/device.c
src/vulkan/image.c
src/vulkan/intel.c
src/vulkan/private.h