diff --git a/Common/GPU/Vulkan/VulkanLoader.cpp b/Common/GPU/Vulkan/VulkanLoader.cpp index 4a538d490f..9c6bde6be8 100644 --- a/Common/GPU/Vulkan/VulkanLoader.cpp +++ b/Common/GPU/Vulkan/VulkanLoader.cpp @@ -692,6 +692,11 @@ bool VulkanLoad(std::string *errorStr) { } bool VulkanLoadFromGetInstanceProcAddr(VkInstance instance, PFN_vkGetInstanceProcAddr getInstanceProcAddr) { +#if PPSSPP_PLATFORM(IOS_APP_STORE) + // MoltenVK is linked statically, the functions are already there - there are no function pointers to fill in. + INFO_LOG(Log::G3D, "iOS: Vulkan doesn't need loading"); + return true; +#else vkGetInstanceProcAddr = getInstanceProcAddr; vkCreateInstance = (PFN_vkCreateInstance)getInstanceProcAddr(nullptr, "vkCreateInstance"); // Per the Vulkan spec, vkGetDeviceProcAddr is not one of the handful of commands queryable with a @@ -709,6 +714,7 @@ bool VulkanLoadFromGetInstanceProcAddr(VkInstance instance, PFN_vkGetInstancePro ERROR_LOG(Log::G3D, "VulkanLoadFromGetInstanceProcAddr: Failed to load Vulkan base functions"); return false; } +#endif } void VulkanLoadInstanceFunctions(VkInstance instance, const VulkanExtensions &enabledExtensions, uint32_t vulkanInstanceApiVersion) { diff --git a/Core/Config.cpp b/Core/Config.cpp index 4963701af9..1dd9dfdd21 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -1596,7 +1596,7 @@ void Config::PostLoadCleanup() { #endif if (!IsBackendEnabled((GPUBackend)iGPUBackend)) { - ERROR_LOG(Log::G3D, "Backend %d not enabled - switching to platform default"); + ERROR_LOG(Log::G3D, "Backend %d not enabled - switching to platform default", iGPUBackend); iGPUBackend = (int)DefaultGPUBackend(); }