Cycles:
authorThomas Dinges <blender@dingto.org>
Wed, 1 Aug 2012 14:56:15 +0000 (14:56 +0000)
committerThomas Dinges <blender@dingto.org>
Wed, 1 Aug 2012 14:56:15 +0000 (14:56 +0000)
* Removed outdated OpenCL comments, kernel features are defined in kernel_types.h now.

intern/cycles/device/device_opencl.cpp

index 13ebeff70d22d0709f32ea7d4bab92b67b53f746..c9ec7c75063cbfac3047a225465abc353821d8a6 100644 (file)
@@ -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__ ";