diff options
author | Thomas Dinges <blender@dingto.org> | 2012-08-01 18:56:15 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2012-08-01 18:56:15 +0400 |
commit | 2fcd6827bfe48a4def999ba84732366579a5dad5 (patch) | |
tree | 568a06aae3f105e8f6c51f497599600a75135181 /intern | |
parent | f86bd9d39aac71673bfda194876a195635842515 (diff) |
Cycles:
* Removed outdated OpenCL comments, kernel features are defined in kernel_types.h now.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/device/device_opencl.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp index 13ebeff70d2..c9ec7c75063 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -298,15 +298,12 @@ public: { string build_options = " -cl-fast-relaxed-math "; - /* Multi Closure for nVidia cards */ if(platform_name == "NVIDIA CUDA") build_options += "-D__KERNEL_SHADING__ -D__KERNEL_OPENCL_NVIDIA__ -cl-nv-maxrregcount=24 -cl-nv-verbose "; - - /* No Float3 for Apple */ + else if(platform_name == "Apple") build_options += "-D__CL_NO_FLOAT3__ -D__KERNEL_OPENCL_APPLE__ "; - - /* Basic shading for AMD cards (non Apple) */ + else if(platform_name == "AMD Accelerated Parallel Processing") build_options += "-D__CL_NO_FLOAT3__ -D__KERNEL_OPENCL_AMD__ "; |