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
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-07-15 16:10:28 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-07-15 16:11:02 +0300
commit2b97ad348cae6258d33e7bc23bb93a3f1cd59fe6 (patch)
tree215eda92f53204a4410adf0c9c4dda4f71acb4ab /intern
parent32c6d92cb0dadd3cf2a1215b7738c009b184596e (diff)
Cycles: Missed this in the previous commit
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/device/device_opencl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 8df83116195..19f50fa103a 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;
}