[Bf-blender-cvs] [fbeae890718] greasepencil-object: Cycles: Disable OpenCL on macOS

Sergey Sharybin noreply at git.blender.org
Fri Dec 7 17:16:03 CET 2018


Commit: fbeae890718ea428535903647aaae0c6754cd413
Author: Sergey Sharybin
Date:   Fri Dec 7 14:37:47 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBfbeae890718ea428535903647aaae0c6754cd413

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.

===================================================================

M	intern/cycles/device/opencl/opencl_util.cpp

===================================================================

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;
 }



More information about the Bf-blender-cvs mailing list