anv/android: Use an address for each anv_image plane
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 3 Jun 2018 18:41:59 +0000 (20:41 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 12 Jun 2018 08:17:43 +0000 (11:17 +0300)
commitfb9ab2fbd3a01693bb540560e6bd8d6f3e43a089
treef0b24a08af6f695bad8b622d46d5d8d23f0012d0
parenta1220e73116bad74f39c1792a0b0cf0e4e5031db
anv/android: Use an address for each anv_image plane

Fixes to avoid building error after change in image->planes[] structure,
{bo,bo_offset} has to be replaced by address.{bo,offset}
and update is needed also in the assert() for debug builds.

external/mesa/src/intel/vulkan/anv_android.c:188:21:
error: no member named 'bo' in 'struct anv_image::(anonymous at external/mesa/src/intel/vulkan/anv_private.h:2647:4)'
   image->planes[0].bo = bo;
   ~~~~~~~~~~~~~~~~ ^
1 error generated.

Fixes: bf34ef16ac ("anv: Use an address for each anv_image plane")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_android.c