anv/buffer_view: Store a bo + offset instead of buffer pointer
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Dec 2015 22:09:35 +0000 (14:09 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Dec 2015 22:10:40 +0000 (14:10 -0800)
commitdba28da07532072fbaa6ef51133234f10e0cac74
tree6f4572e64dfb05af40dc4461ecd45c6352f62605
parentee57062e1ec5d1d4666239c5a9c426982861f375
anv/buffer_view: Store a bo + offset instead of buffer pointer

This is what image_view does.  Also, we really need to do this so that we
can properly handle the combined offsets from the buffer and from
pCreateInfo.

This fixes some of the nonzero offset buffer view CTS tests.
src/vulkan/anv_cmd_buffer.c
src/vulkan/anv_image.c
src/vulkan/anv_private.h