Blender Git Loki
Git Commits -> Revision 298d868
Revision 298d868 by Sergey Sharybin (master) February 10, 2015, 12:36 (GMT) |
Fix T43596: Refraction BSDF crashes blender on pre-sse4 CPU This is the same issue T43475: SSE4 code is more robust to non-finite values in the ray origin/direction. So for now added a check before doing BVH traversal for pre-SSE4 CPUs. For sure actual root of the issue is a bit different and much more tricky to solve, especially without disturbing render results too much. Still looking into this. In any case, it's kinda fine to have such a check, we might later make it to be a kernel_assert() instead of just a return. |
Commit Details:
Full Hash: 298d8681a0ac28ccc96e593a02ad34a5cef624c6
Parent Commit: e7d20b0
Lines Changed: +24, -3
5 Modified Paths:
/intern/cycles/kernel/geom/geom_qbvh_shadow.h (+6, -0) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_subsurface.h (+6, -0) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_traversal.h (+6, -0) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_volume.h (+6, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+0, -3) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_subsurface.h (+6, -0) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_traversal.h (+6, -0) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_volume.h (+6, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+0, -3) (Diff)