diff options
author | Thomas Dinges <blender@dingto.org> | 2013-06-08 15:38:23 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-06-08 15:38:23 +0400 |
commit | e2c02c47ad2489a63bea01f4bf5c876bdcee1c41 (patch) | |
tree | 61be1965c3c9b5ad6c66ef3dd6e61ba51934682d /intern | |
parent | c53b20b683cbc6c198f2ec1e78e1b8a16e83d2b3 (diff) |
Cycles / OpenCL:
* Fix for recent commits, ceilf is not available in OpenCL.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/kernel_compat_opencl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_compat_opencl.h b/intern/cycles/kernel/kernel_compat_opencl.h index 66cf0bb996b..2bf3b58ce99 100644 --- a/intern/cycles/kernel/kernel_compat_opencl.h +++ b/intern/cycles/kernel/kernel_compat_opencl.h @@ -98,6 +98,7 @@ #define tanf(x) tan(((float)x)) #define logf(x) log(((float)x)) #define floorf(x) floor(((float)x)) +#define ceilf(x) ceil(((float)x)) #define expf(x) exp(((float)x)) #define hypotf(x, y) hypot(((float)x), ((float)y)) #define atan2f(x, y) atan2(((float)x), ((float)y)) |