diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-02-24 19:53:19 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-02-24 19:53:19 +0400 |
commit | f4bb31f26ba9a17c0f7dce1812f0227d3daea84c (patch) | |
tree | bc80370aa820d5d583022d114f50f47c687c7c85 /intern/cycles/device/device_opencl.cpp | |
parent | ae38adbf55c83f3c60eca533264f390fa64250b8 (diff) |
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.
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-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 c2eee04f3fe..f3d9aea452a 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -301,7 +301,7 @@ public: /* 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; |