From 7add0739e911f946cfb1585fac855602c74a0998 Mon Sep 17 00:00:00 2001 From: Fabian-Herb Date: Tue, 11 Jun 2024 11:17:30 +0200 Subject: [PATCH] Enable OpenImageDenoise on ARM64 Linux in Denoise compositor node --- source/blender/compositor/operations/COM_DenoiseOperation.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/blender/compositor/operations/COM_DenoiseOperation.cc b/source/blender/compositor/operations/COM_DenoiseOperation.cc index 45bb65aaf61..c11f798fad4 100644 --- a/source/blender/compositor/operations/COM_DenoiseOperation.cc +++ b/source/blender/compositor/operations/COM_DenoiseOperation.cc @@ -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(); -- 2.30.2