[Bf-blender-cvs] [2b97ad3] master: Cycles: Missed this in the previous commit

Sergey Sharybin noreply at git.blender.org
Wed Jul 15 15:11:17 CEST 2015


Commit: 2b97ad348cae6258d33e7bc23bb93a3f1cd59fe6
Author: Sergey Sharybin
Date:   Wed Jul 15 15:10:28 2015 +0200
Branches: master
https://developer.blender.org/rB2b97ad348cae6258d33e7bc23bb93a3f1cd59fe6

Cycles: Missed this in the previous commit

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

M	intern/cycles/device/device_opencl.cpp

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

diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 8df8311..19f50fa 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -140,6 +140,9 @@ bool opencl_kernel_use_split(const string& platform_name,
 	{
 		return true;
 	}
+	if(platform_name == "Apple" && device_type == CL_DEVICE_TYPE_GPU) {
+		return true;
+	}
 	return false;
 }




More information about the Bf-blender-cvs mailing list