summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorPierre de La Morinerie <kemenaran@gmail.com>2023-11-22 22:59:35 +0100
committerAdmiral H. Curtiss <pikachu025@gmail.com>2023-11-24 15:09:25 +0100
commit0ecfaf3b9ee25f2dc110a0ce424ecafb4f2cac25 (patch)
treec451d9f50a1e605c0370b5330b546f0143293eff /Source/Core/Common/FileUtil.cpp
parent3a3a935b9a7f98f3ed53491cc804c3e5267f5859 (diff)
Metal: enable concurrent compilation only if available
Bug: https://bugs.dolphin-emu.org/issues/13404 On macOS 13.6 / Intel HD 5000, Dolphin crashes with this message: > -[MTLIGAccelDevice setShouldMaximizeConcurrentCompilation:]: unrecognized selector This should be available on all macOS 13.3+ systems – but when using OCLP drivers, some devices use an older version of Metal.framework, which doesn't expose the selector. This concerns Intel Ivy Bridge, Haswell and Nvidia Kepler when using OCLP on macOS 13.3 or newer. (See https://github.com/dortania/OpenCore-Legacy-Patcher/blob/34676702f494a2a789c514cc76dba19b8b7206b1/docs/PATCHEXPLAIN.md?plain=1#L354C1-L354C83) As the behavior is an optional optimization anyway, perform a dynamic detection to avoid crashing if the feature is not available.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions