From e9f05df9caf67e17147d18dfa7409833339603f2 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Thu, 9 Feb 2023 14:24:21 +0000 Subject: [PATCH] Cycles: Fix MetalRT checkbox not hooked up to device on AMD --- intern/cycles/device/metal/device_impl.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/intern/cycles/device/metal/device_impl.mm b/intern/cycles/device/metal/device_impl.mm index aadf5e02934..ba673c461b2 100644 --- a/intern/cycles/device/metal/device_impl.mm +++ b/intern/cycles/device/metal/device_impl.mm @@ -105,6 +105,7 @@ MetalDevice::MetalDevice(const DeviceInfo &info, Stats &stats, Profiler &profile } case METAL_GPU_AMD: { max_threads_per_threadgroup = 128; + use_metalrt = info.use_metalrt; break; } case METAL_GPU_APPLE: { -- 2.30.2