Fix #122933: Enable Compositor OpenImageDenoise on Linux ARM64

Pull Request: https://projects.blender.org/blender/blender/pulls/123066
This commit is contained in:
Fabian-Herb 2024-06-11 11:17:30 +02:00 committed by Brecht Van Lommel
parent 1dfdf098d2
commit 354b1a5db9

@ -15,8 +15,11 @@ namespace blender::compositor {
bool COM_is_denoise_supported()
{
#ifdef WITH_OPENIMAGEDENOISE
/* Always supported through Accelerate framework BNNS on macOS. */
# ifdef __APPLE__
/* Always supported through Accelerate framework BNNS on macOS. */
return true;
# elif defined(__aarch64__) || defined(_M_ARM64)
/* OIDN 2.2 and up supports ARM64 on Windows and Linux. */
return true;
# else
return BLI_cpu_support_sse42();