Fix #122933: Enable OpenImageDenoise support on Linux ARM64 #122948

Merged
Brecht Van Lommel merged 1 commits from Fabian-Herb/blender:openimagedenoise-linux-arm64 into main 2024-06-11 19:17:11 +02:00
Showing only changes of commit f28fba07b9 - Show all commits

View File

@ -19,8 +19,8 @@ static inline bool openimagedenoise_supported()
# if defined(__APPLE__)
/* Always supported through Accelerate framework BNNS. */
return true;
# elif defined(_M_ARM64)
/* OIDN supports NEON natively, and all Windows ARM64 platforms support NEON */
# elif defined(__aarch64__) || defined(_M_ARM64)
/* OIDN 2.2 and up supports ARM64 on Windows and Linux. */
return true;
# else
return system_cpu_support_sse42();