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:
parent
9ac1735205
commit
8fb2926a53
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue