Skip to content

Commit

Permalink
Cycles: show Metal device in preferences also on Intel Macs
Browse files Browse the repository at this point in the history
In anticipation of enabling AMD Metal support.

Ref D14090, T92212
  • Loading branch information
brechtvl committed Feb 11, 2022
1 parent 9ac1735 commit 8fb2926
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions release/scripts/startup/bl_ui/space_userpref.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,14 +594,6 @@ def draw_centered(self, context, layout):
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

Expand Down

0 comments on commit 8fb2926

Please sign in to comment.