Fix #122933: Enable Cycles OpenImageDenoise on Linux ARM64
_M_ARM64 is defined on Visual Studio only, but OpenImageDenoise 2.2 works on ARM64 Linux, too. ARM64 always has NEON, so that remark was a no-op. Pull Request: https://projects.blender.org/blender/blender/pulls/122948
This commit is contained in:
committed by
Brecht Van Lommel
parent
6191212a0f
commit
45447e8b2f
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user