freetype:update and moved to /usr/lib
[nyanlinux.git] / builders / mesa-vulkan-amd-sh-a0a453e43f6efec864267a20a555a5c1ffe7eabc / contrib / vk_enum_to_str.c
blobd764859d7290236265ef9e1e4273acef04617ccb
1 #include <stdio.h>
2 #include <vulkan/vulkan_core.h>
4 const char * vk_Result_to_str(VkResult input)
6 static char buf[64];
7 sprintf(buf, "%ld", input);
8 return buf;
10 const char *vk_ObjectType_to_ObjectName(VkObjectType type)
12 static char buf[64];
13 sprintf(buf, "0x%lx", type);
14 return buf;
16 const char *vk_ObjectType_to_str(VkObjectType type)
18 static char buf[64];
19 sprintf(buf, "0x%lx", type);
20 return buf;