Cycles: Disable OpenCL on macOS

This is unfortunate, but the number of bugs in this configuration
keeps growing, and almost all of them are caused by bug in OpenCL
compiler.

The compiler is not likely to be fixed, since Apple declared OpenCL
deprecated.

This evil commit is aimed to keep officially supported features
of Blender in a good working and stable state.
This commit is contained in:
Sergey Sharybin 2018-12-07 14:37:47 +01:00
parent 52824f008e
commit bb0d812d98
Notes: blender-bot 2023-02-14 06:46:23 +01:00
Referenced by issue #52145, Denoising feature. Bug on GPU render (Mac OsX 10.11.6)
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ bool OpenCLInfo::device_supported(const string& platform_name,
return true;
}
if(platform_name == "Apple" && device_type == CL_DEVICE_TYPE_GPU) {
return true;
return false;
}
return false;
}