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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-12-08 21:43:17 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-12-08 21:43:17 +0300
commit52c834983f68974d554f11a144fef6f3a4acac82 (patch)
tree51576295b3d241fe651401696c55e9af5286f311 /intern/cycles
parentf16bca72123b279a7c1e395abb75fb4032150391 (diff)
Fix T72282: Cycles OpenCL error after recent math node changes
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/kernel/kernel_compat_opencl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_compat_opencl.h b/intern/cycles/kernel/kernel_compat_opencl.h
index 552734cc361..4963f1cd196 100644
--- a/intern/cycles/kernel/kernel_compat_opencl.h
+++ b/intern/cycles/kernel/kernel_compat_opencl.h
@@ -126,6 +126,8 @@
#define fminf(x, y) fmin(((float)(x)), ((float)(y)))
#define fmodf(x, y) fmod((float)(x), (float)(y))
#define sinhf(x) sinh(((float)(x)))
+#define coshf(x) cosh(((float)(x)))
+#define tanhf(x) tanh(((float)(x)))
/* Use native functions with possibly lower precision for performance,
* no issues found so far. */