Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-04-19 12:15:40 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-04-19 13:12:23 +0300
commitc75b2019e101c498ccf65442ed262596639ee8bc (patch)
tree6c9973d101f0054857afc8accc20a46ce6a04082 /source
parent6dffdb02fa2a416cc8ffb49d8b842704aadad3a9 (diff)
Fix incorrect compositor denoise node message about SSE on macOS Arm
Ref T78710
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_node/drawnode.c6
1 files changed, 5 insertions, 1 deletions
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