Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-12-07 16:37:47 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-12-07 16:37:47 +0300
commitbb0d812d98f431da52d11c0749a6fe48fa34c53e (patch)
tree49cacec3871d0a6574400095e70929f87c885f86 /intern/cycles/device
parent52824f008e14fdcaac4948df2571a7cb81399235 (diff)
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.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r--intern/cycles/device/opencl/opencl_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/opencl/opencl_util.cpp b/intern/cycles/device/opencl/opencl_util.cpp
index 4c9f3cd6ef7..f43aa5f350a 100644
--- a/intern/cycles/device/opencl/opencl_util.cpp
+++ b/intern/cycles/device/opencl/opencl_util.cpp
@@ -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;
}