Blender Git Loki
Git Commits -> Revision e91dc3a
Revision e91dc3a by Hristo Gueorguiev (master) April 25, 2017, 18:10 (GMT) |
Cycles: use safe compiler flags for OpenCL. Using -cl-fast-relaxed-math assumes no NaN/Inf values in any expression. This causes problems on overflow, division by zero, square root of negative number. Comparisons with NaN or infinite value are affected as well. This patch causes <2% slowdown on benchmark scenes. Fix T50985: Rendering volume scatter with GPU OpenCL comes to an halt after a few seconds |
Commit Details:
Full Hash: e91dc3a97c0ce1951ce76790210f7197ab9e014a
Parent Commit: 9d26e32
Lines Changed: +1, -1
1 Modified Path:
/intern/cycles/device/opencl/opencl_base.cpp (+1, -1) (Diff)