anv: Use an anv_address in anv_buffer_view
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 31 May 2018 00:36:49 +0000 (17:36 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 31 May 2018 23:51:46 +0000 (16:51 -0700)
commit1029458ee32dfada4431e67a17922e1602aba6a7
tree7174f4ed0f139af3aa7c8db5c2a40c83a439e0fc
parentde1c5c1b503fb190e5d169654ce207777e699195
anv: Use an anv_address in anv_buffer_view

Instead of storing a BO and offset separately, use an anv_address.  This
changes anv_fill_buffer_surface_state to use anv_address and we now call
anv_address_physical and pass that into ISL.

Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
src/intel/vulkan/anv_descriptor_set.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c