anv: use the correct format on Android
authorIván Briano <ivan.briano@intel.com>
Thu, 7 May 2020 20:34:04 +0000 (13:34 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 May 2020 23:20:50 +0000 (23:20 +0000)
commit6ae0762f5c05284cda768fff9334eee28f3d0355
tree866719d3dd794bb80fa41ec0bec6f922b32b0bd4
parent4cf702c3326264c616c112280fe8947bfcc5eb11
anv: use the correct format on Android

Per https://android.googlesource.com/platform/frameworks/native/+/master/vulkan/libvulkan/swapchain.cpp#745
the format Android requires is R5G6B5, and we have it backwards here.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4898>
src/intel/vulkan/anv_android.c