diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-04-19 12:15:40 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-04-19 13:12:23 +0300 |
commit | c75b2019e101c498ccf65442ed262596639ee8bc (patch) | |
tree | 6c9973d101f0054857afc8accc20a46ce6a04082 /source/blender/editors/space_node | |
parent | 6dffdb02fa2a416cc8ffb49d8b842704aadad3a9 (diff) |
Fix incorrect compositor denoise node message about SSE on macOS Arm
Ref T78710
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 6 |
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 |