diff options
author | Thomas Dinges <blender@dingto.org> | 2013-05-27 21:13:36 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-05-27 21:13:36 +0400 |
commit | 722680d7cffd4f7ffe40799d3b1b1c5f3c2a4928 (patch) | |
tree | 9ba35727aaee725c675a1a1de81eb8bf88cbd2ed /intern/cycles/device | |
parent | bb15701f863fbe0a40bdddc19ef949f5c59fe88b (diff) |
Cycles / OpenCL:
* Use advanced shading for nvidia as well, works fine on my Geforce 540M with sm_21.
I tested the files from regression suite.
Diffstat (limited to 'intern/cycles/device')
-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 8e14c281155..1cd538d655f 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -69,7 +69,7 @@ static bool opencl_kernel_use_advanced_shading(const string& platform) { /* keep this in sync with kernel_types.h! */ if(platform == "NVIDIA CUDA") - return false; + return true; else if(platform == "Apple") return false; else if(platform == "AMD Accelerated Parallel Processing") |