diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-09-24 16:33:39 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-10-10 17:02:34 +0000 |
commit | adad61239c43f4a06b8a97bf9c31b7d2a8148d6b (patch) | |
tree | 5dfb00a60c2b3991405464cdc797837dca3b04fe /src/amd/vulkan/radv_private.h | |
parent | 041fc7beb851ef21e5109edf0780599ea9161dfc (diff) |
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 <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 6ad055aacdc..f0a5fc19604 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1928,6 +1928,9 @@ uint64_t radv_ahb_usage_from_vk_usage(const VkImageCreateFlags vk_create, const VkImageUsageFlags vk_usage); +VkFormat +radv_select_android_external_format(const void *next, VkFormat default_format); + struct radv_image_view_extra_create_info { bool disable_compression; |