Skip to content
Snippets Groups Projects
Commit f78f995b authored by Roman Kiryanov's avatar Roman Kiryanov
Browse files

Use VkFormat to pass Vulkan formats


For better type safety.

Bug: 131176903
Test: make
Change-Id: Ic32f43b4ce3d8a609e70bb8021b5560aa97493ef
Merged-In: Id7c67e234ec96b01bbf53bae257c1b0a355e2d0a
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
parent e2bd2df0
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ vk_format_from_android(unsigned android_format)
}
static inline unsigned
android_format_from_vk(unsigned vk_format)
android_format_from_vk(VkFormat vk_format)
{
switch (vk_format) {
case VK_FORMAT_R8G8B8A8_UNORM:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment