Revision: 44409
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44409
Author: blendix
Date: 2012-02-24 15:53:19 +0000 (Fri, 24 Feb 2012)
Log Message:
-----------
Cycles: tweak for AMD opencl compile of advanced shading, from Daniel Genrich,
still does not work correct but should compile if you have enough memory.
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-02-24
15:34:57 UTC (rev 44408)
+++ trunk/blender/intern/cycles/device/device_opencl.cpp 2012-02-24
15:53:19 UTC (rev 44409)
@@ -301,7 +301,7 @@
/* full shading only on NVIDIA cards at the moment */
if(platform_name == "NVIDIA CUDA")
build_options += "-D__KERNEL_SHADING__
-D__MULTI_CLOSURE__ -cl-nv-maxrregcount=24 -cl-nv-verbose ";
- if(platform_name == "Apple")
+ if(platform_name == "Apple" || platform_name == "AMD
Accelerated Parallel Processing")
build_options += " -D__CL_NO_FLOAT3__ ";
return build_options;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs