[Bf-blender-cvs] [105b87a] master: Cycles: Enable advanced shading on AMD / OpenCL.
Thomas Dinges
noreply at git.blender.org
Sun May 17 19:31:15 CEST 2015
Commit: 105b87a3f729bd8b006404abc90d157dcb931ae2
Author: Thomas Dinges
Date: Sun May 17 19:29:33 2015 +0200
Branches: master
https://developer.blender.org/rB105b87a3f729bd8b006404abc90d157dcb931ae2
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.
===================================================================
M intern/cycles/device/device_opencl.cpp
===================================================================
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 5c480d9..5ebde5d 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;
More information about the Bf-blender-cvs
mailing list