diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-03-01 22:31:18 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-03-01 22:31:18 +0300 |
commit | e1ec2d025142a35ce5a5302da0b9a71a279c61f2 (patch) | |
tree | 965ee6a0c38fc2352bb61401648ba95f0640b0f8 /intern/cycles/device/metal/device_impl.mm | |
parent | 6498688e274836a66d9075edfe79fd3572334427 (diff) | |
parent | 8e88af99348590e9879dcbfe97bbbc180fc5ec67 (diff) |
Merge branch 'blender-v3.1-release'
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 593c9c3cf06..c01f51fb506 100644 --- a/intern/cycles/device/metal/device_impl.mm +++ b/intern/cycles/device/metal/device_impl.mm @@ -77,11 +77,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); } |