[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49460] trunk/blender/intern/cycles/device /device_opencl.cpp: Cycles:

Thomas Dinges blender at dingto.org
Wed Aug 1 16:56:16 CEST 2012


Revision: 49460
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49460
Author:   dingto
Date:     2012-08-01 14:56:15 +0000 (Wed, 01 Aug 2012)
Log Message:
-----------
Cycles:
* Removed outdated OpenCL comments, kernel features are defined in kernel_types.h now. 

Modified Paths:
--------------
    trunk/blender/intern/cycles/device/device_opencl.cpp

Modified: trunk/blender/intern/cycles/device/device_opencl.cpp
===================================================================
--- trunk/blender/intern/cycles/device/device_opencl.cpp	2012-08-01 14:51:49 UTC (rev 49459)
+++ trunk/blender/intern/cycles/device/device_opencl.cpp	2012-08-01 14:56:15 UTC (rev 49460)
@@ -298,15 +298,12 @@
 	{
 		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__ ";
 




More information about the Bf-blender-cvs mailing list