Blender Git Loki

Git Commits -> Revision ce1f2e2

Revision ce1f2e2 by Brecht Van Lommel (master)
September 8, 2017, 13:12 (GMT)
Cycles: disable fast math flags, only use a subset.

Empty BVH nodes are set to NaN which must be preserved all the way to the
tnear <= tfar test which can then give false for empty nodes. This needs
strict semantices and careful argument ordering for min() and max(), so
the second argument is used if either of the arguments is NaN.

Fixes T52635: crash in BVH traversal with SSE4.1.

Differential Revision: https://developer.blender.org/D2828

Commit Details:

Full Hash: ce1f2e271d84f0bb7798c04cb9ca8459f12cee50
Parent Commit: b02ab2e
Lines Changed: +61, -57

3 Modified Paths:

/intern/cycles/CMakeLists.txt (+45, -41) (Diff)
/intern/cycles/kernel/bvh/bvh_nodes.h (+12, -12) (Diff)
/intern/cycles/kernel/bvh/qbvh_nodes.h (+4, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021