Cycles: show Metal device in preferences also on Intel Macs

In anticipation of enabling AMD Metal support.

Ref D14090, T92212
This commit is contained in:
Brecht Van Lommel 2022-02-11 17:49:35 +01:00
parent 9ac1735205
commit 8fb2926a53
1 changed files with 0 additions and 8 deletions

View File

@ -594,14 +594,6 @@ class USERPREF_PT_system_sound(SystemPanel, CenterAlignMixIn, Panel):
class USERPREF_PT_system_cycles_devices(SystemPanel, CenterAlignMixIn, Panel):
bl_label = "Cycles Render Devices"
@classmethod
def poll(cls, _context):
# No GPU rendering on macOS x86_64 currently.
import platform
import sys
return bpy.app.build_options.cycles and \
(sys.platform != "darwin" or platform.machine() == "arm64")
def draw_centered(self, context, layout):
prefs = context.preferences