Cycles: Properly default to Metal-RT off unless GPU is a M3 or newer #120299
|
@ -77,8 +77,12 @@ void device_metal_info(vector<DeviceInfo> &devices)
|
|||
if (@available(macos 14.0, *)) {
|
||||
info.use_hardware_raytracing = device.supportsRaytracing;
|
||||
|
||||
info.use_metalrt_by_default = false;
|
||||
if (vendor == METAL_GPU_APPLE) {
|
||||
/* Use hardware raytracing for faster rendering on architectures that support it. */
|
||||
info.use_metalrt_by_default = (MetalInfo::get_apple_gpu_architecture(device) >= APPLE_M3);
|
||||
info.use_metalrt_by_default = (MetalInfo::get_apple_gpu_architecture(device) >=
|
||||
APPLE_M3);
|
||||
}
|
||||
}
|
||||
}
|
||||
# endif
|
||||
|
|
Loading…
Reference in New Issue