Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-06-08 15:38:23 +0400
committerThomas Dinges <blender@dingto.org>2013-06-08 15:38:23 +0400
commite2c02c47ad2489a63bea01f4bf5c876bdcee1c41 (patch)
tree61be1965c3c9b5ad6c66ef3dd6e61ba51934682d /intern/cycles/kernel/kernel_compat_opencl.h
parentc53b20b683cbc6c198f2ec1e78e1b8a16e83d2b3 (diff)
Cycles / OpenCL:
* Fix for recent commits, ceilf is not available in OpenCL.
Diffstat (limited to 'intern/cycles/kernel/kernel_compat_opencl.h')
-rw-r--r--intern/cycles/kernel/kernel_compat_opencl.h1
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))