Blender Git Loki

Git Commits -> Revision 4f2583e

Revision 4f2583e by Sergey Sharybin (master)
January 2, 2015, 09:58 (GMT)
Fix T43027: OpenCL kernel compilation broken after QBVH

OpenCL apparently does not support templates, so the idea of generic
function for swapping is a bit of a failure. Now it is either inlined
into the code (in triangle intersection) or has specific implementation
for QBVH.

This is probably even better, because we can't create QBVH-specific
function in util_math anyway.

Commit Details:

Full Hash: 4f2583ee1300157a2f08532509ab3a53ef3a7b47
Parent Commit: da66a2c
Lines Changed: +22, -29

3 Modified Paths:

/intern/cycles/kernel/geom/geom_qbvh.h (+19, -9) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+3, -1) (Diff)
/intern/cycles/util/util_math.h (+0, -19) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021