From ae370e292af2f7092db02301e9deb6dd9d7a1441 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 15 Feb 2021 17:30:59 +0100 Subject: macOS: add Embree, OpenImageDenoise and sse2neon libraries for ARM This required using a fork of Embree, newer LLVM version, unreleased ISPC version and sse2neon directly from Git. Hopefully over time all the required changes end up in official releases. For now we deviate from other platforms. Based on contributions by Apple and Stefan Werner. Ref D9527, D8237, T78710 --- intern/cycles/util/util_openimagedenoise.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'intern/cycles') diff --git a/intern/cycles/util/util_openimagedenoise.h b/intern/cycles/util/util_openimagedenoise.h index aafa69cb530..898c634141e 100644 --- a/intern/cycles/util/util_openimagedenoise.h +++ b/intern/cycles/util/util_openimagedenoise.h @@ -28,7 +28,12 @@ CCL_NAMESPACE_BEGIN static inline bool openimagedenoise_supported() { #ifdef WITH_OPENIMAGEDENOISE +# ifdef __APPLE__ + /* Always supported through Accelerate framework BNNS. */ + return true; +# else return system_cpu_support_sse41(); +# endif #else return false; #endif -- cgit v1.2.3