[Bf-blender-cvs] [c75b2019e10] blender-v2.93-release: Fix incorrect compositor denoise node message about SSE on macOS Arm
Brecht Van Lommel
noreply at git.blender.org
Mon Apr 19 12:12:57 CEST 2021
Commit: c75b2019e101c498ccf65442ed262596639ee8bc
Author: Brecht Van Lommel
Date: Mon Apr 19 11:15:40 2021 +0200
Branches: blender-v2.93-release
https://developer.blender.org/rBc75b2019e101c498ccf65442ed262596639ee8bc
Fix incorrect compositor denoise node message about SSE on macOS Arm
Ref T78710
===================================================================
M source/blender/editors/space_node/drawnode.c
===================================================================
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index ac6eab69864..3d1f5231366 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -2749,7 +2749,11 @@ static void node_composit_buts_denoise(uiLayout *layout, bContext *UNUSED(C), Po
#ifndef WITH_OPENIMAGEDENOISE
uiItemL(layout, IFACE_("Disabled, built without OpenImageDenoise"), ICON_ERROR);
#else
- if (!BLI_cpu_support_sse41()) {
+ /* Always supported through Accelerate framework BNNS on macOS. */
+# ifndef __APPLE__
+ if (!BLI_cpu_support_sse41())
+# endif
+ {
uiItemL(layout, IFACE_("Disabled, CPU with SSE4.1 is required"), ICON_ERROR);
}
#endif
More information about the Bf-blender-cvs
mailing list