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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to