anv: fix build on Nougat
authorGurchetan Singh <gurchetansingh@chromium.org>
Tue, 19 Mar 2019 02:06:05 +0000 (19:06 -0700)
committerGurchetan Singh <gurchetansingh@chromium.org>
Thu, 21 Mar 2019 22:36:39 +0000 (15:36 -0700)
commit620df57dbb74f1001fcdf5b401f5bc7555f8884b
treec14c378437ebb6971799824cdc567f4a8f63f7e7
parent139f908d8f5fe27506a1acc4a443bd8ff0ab5329
anv: fix build on Nougat

AHardwareBuffer is only available on O and above.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/vulkan/anv_android.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_image.c
src/intel/vulkan/vk_format_info.h