Add HDR to Metal

This commit is contained in:
Sam Belliveau
2024-03-10 03:25:33 -04:00
parent f3d1cda672
commit 153d0201a8
3 changed files with 19 additions and 0 deletions

View File

@ -77,6 +77,8 @@ void Metal::Util::PopulateBackendInfo(VideoConfig* config)
config->backend_info.bSupportsPartialMultisampleResolve = false;
config->backend_info.bSupportsDynamicVertexLoader = true;
config->backend_info.bSupportsVSLinePointExpand = true;
config->backend_info.bSupportsHDROutput =
1.0 < [[NSScreen deepestScreen] maximumPotentialExtendedDynamicRangeColorComponentValue];
}
void Metal::Util::PopulateBackendInfoAdapters(VideoConfig* config,