radv: Deal with Android external formats.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 24 Sep 2019 14:33:39 +0000 (16:33 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 10 Oct 2019 17:02:34 +0000 (17:02 +0000)
commitadad61239c43f4a06b8a97bf9c31b7d2a8148d6b
tree5dfb00a60c2b3991405464cdc797837dca3b04fe
parent041fc7beb851ef21e5109edf0780599ea9161dfc
radv: Deal with Android external formats.

To abstract things a bit, this adds a helper function in radv_android.c.
However, this means we have to link in radv_android.c on non-android as
well, which means some scaffolding changes.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/meson.build
src/amd/vulkan/radv_android.c
src/amd/vulkan/radv_formats.c
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_private.h