diff options
author | Michael Jones <michael_p_jones@apple.com> | 2022-02-22 20:09:28 +0300 |
---|---|---|
committer | Michael Jones <michael_p_jones@apple.com> | 2022-03-01 19:05:47 +0300 |
commit | 952a613d3843a7ab47bd8063da71c277ee0a013f (patch) | |
tree | 028b656a6d58f84c001e473880bbc67bed3f3096 /intern/cycles/device/metal/device_impl.mm | |
parent | d681d82d41c176951eb294a2d1dd413eb2fe8af2 (diff) |
Cycles: Hide MetalRT checkbox for AMD GPUs
This patch hides the MetalRT checkbox for AMD GPUs, pending fixes for MetalRT argument encoding on AMD.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D14175
Diffstat (limited to 'intern/cycles/device/metal/device_impl.mm')
-rw-r--r-- | intern/cycles/device/metal/device_impl.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/metal/device_impl.mm b/intern/cycles/device/metal/device_impl.mm index 8ced0210e30..7291dd880ca 100644 --- a/intern/cycles/device/metal/device_impl.mm +++ b/intern/cycles/device/metal/device_impl.mm @@ -90,11 +90,11 @@ MetalDevice::MetalDevice(const DeviceInfo &info, Stats &stats, Profiler &profile } case METAL_GPU_APPLE: { max_threads_per_threadgroup = 512; + use_metalrt = info.use_metalrt; break; } } - use_metalrt = info.use_metalrt; if (auto metalrt = getenv("CYCLES_METALRT")) { use_metalrt = (atoi(metalrt) != 0); } |