VideoBackends:Metal: Enable shouldMaximizeConcurrentCompilation when available
This commit is contained in:
parent
7845fb00ee
commit
e7f4b7679b
|
@ -95,6 +95,11 @@ bool Metal::VideoBackend::Initialize(const WindowSystemInfo& wsi)
|
|||
MRCOwned<id<MTLDevice>> adapter = std::move(devs[selected_adapter_index]);
|
||||
Util::PopulateBackendInfoFeatures(&g_Config, adapter);
|
||||
|
||||
#if TARGET_OS_OSX
|
||||
if (@available(macOS 13.3, *))
|
||||
[adapter setShouldMaximizeConcurrentCompilation:YES];
|
||||
#endif
|
||||
|
||||
UpdateActiveConfig();
|
||||
|
||||
MRCOwned<CAMetalLayer*> layer = MRCRetain(static_cast<CAMetalLayer*>(wsi.render_surface));
|
||||
|
|
Loading…
Reference in New Issue