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:
authorThomas Dinges <blender@dingto.org>2015-05-17 20:29:33 +0300
committerThomas Dinges <blender@dingto.org>2015-05-17 20:29:33 +0300
commit105b87a3f729bd8b006404abc90d157dcb931ae2 (patch)
tree4a55cb2dec707fd3c0ea6981990c5099a7131580 /intern
parentdae566894ae6908dfa3babc42f1c595b3acf0771 (diff)
Cycles: Enable advanced shading on AMD / OpenCL.
That is needed for Motion Blur and Render Passes to work properly. I hope there are no nasty side effects, but we need to test this.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/device/device_opencl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 5c480d98711..5ebde5d99a4 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -95,7 +95,7 @@ static bool opencl_kernel_use_advanced_shading(const string& platform)
else if(platform == "Apple")
return false;
else if(platform == "AMD Accelerated Parallel Processing")
- return false;
+ return true;
else if(platform == "Intel(R) OpenCL")
return true;