diff options
author | Thomas Dinges <blender@dingto.org> | 2015-05-17 20:29:33 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2015-05-17 20:29:33 +0300 |
commit | 105b87a3f729bd8b006404abc90d157dcb931ae2 (patch) | |
tree | 4a55cb2dec707fd3c0ea6981990c5099a7131580 /intern/cycles/device/device_opencl.cpp | |
parent | dae566894ae6908dfa3babc42f1c595b3acf0771 (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/cycles/device/device_opencl.cpp')
-rw-r--r-- | intern/cycles/device/device_opencl.cpp | 2 |
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; |