Restore parallel GLSL builds

This commit is contained in:
Henrik Rydgård 2022-11-08 00:30:21 +01:00
parent ecd62e7eb2
commit 970c266b41

View file

@ -96,7 +96,7 @@ static Promise<VkShaderModule> *CompileShaderModuleAsync(VulkanContext *vulkan,
return shaderModule;
};
#if defined(_DEBUG) || PPSSPP_PLATFORM(ANDROID)
#if defined(_DEBUG)
// Don't parallelize in debug mode, pathological behavior due to mutex locks in allocator which is HEAVILY used by glslang.
return Promise<VkShaderModule>::AlreadyDone(compile());
#else