File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,20 @@ static void applyDriverName(VkPhysicalDeviceDriverPropertiesKHR* properties, FFs
39
39
40
40
static const char * detectVulkan (FFVulkanResult * result )
41
41
{
42
- FF_LIBRARY_LOAD (vulkan , "dlopen libvulkan" FF_LIBRARY_EXTENSION " failed" ,
43
- #ifdef __APPLE__
44
- "libMoltenVK" FF_LIBRARY_EXTENSION , -1
45
- #elif defined(_WIN32 )
46
- "vulkan-1" FF_LIBRARY_EXTENSION , -1
42
+ FF_LIBRARY_LOAD (vulkan , "dlopen libvulkan" FF_LIBRARY_EXTENSION " failed" ,
43
+ #if __ANDROID__
44
+ #if UINTPTR_MAX == UINT32_MAX
45
+ "/system/lib/"
46
+ #else
47
+ "/system /lib64 /"
48
+ #endif
49
+ " libvulkan " FF_LIBRARY_EXTENSION, -1
50
+ #elif __APPLE__
51
+ " libMoltenVK " FF_LIBRARY_EXTENSION, -1
52
+ #elif _WIN32
53
+ "vulkan-1" FF_LIBRARY_EXTENSION , -1
47
54
#else
48
- "libvulkan" FF_LIBRARY_EXTENSION , 2
55
+ "libvulkan" FF_LIBRARY_EXTENSION , 2
49
56
#endif
50
57
)
51
58
FF_LIBRARY_LOAD_SYMBOL_MESSAGE (vulkan , vkGetInstanceProcAddr )
You can’t perform that action at this time.
0 commit comments