forked from bartvdbraak/blender
Cycles / OpenCL:
* Fix for recent commits, ceilf is not available in OpenCL.
This commit is contained in:
parent
c53b20b683
commit
e2c02c47ad
@ -98,6 +98,7 @@
|
|||||||
#define tanf(x) tan(((float)x))
|
#define tanf(x) tan(((float)x))
|
||||||
#define logf(x) log(((float)x))
|
#define logf(x) log(((float)x))
|
||||||
#define floorf(x) floor(((float)x))
|
#define floorf(x) floor(((float)x))
|
||||||
|
#define ceilf(x) ceil(((float)x))
|
||||||
#define expf(x) exp(((float)x))
|
#define expf(x) exp(((float)x))
|
||||||
#define hypotf(x, y) hypot(((float)x), ((float)y))
|
#define hypotf(x, y) hypot(((float)x), ((float)y))
|
||||||
#define atan2f(x, y) atan2(((float)x), ((float)y))
|
#define atan2f(x, y) atan2(((float)x), ((float)y))
|
||||||
|
Loading…
Reference in New Issue
Block a user