Fix T72282: Cycles OpenCL error after recent math node changes

This commit is contained in:
2019-12-08 19:43:17 +01:00
parent f16bca7212
commit 52c834983f

View File

@@ -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. */