Blender Git Commit Log
Git Commits -> Revision 4f96edd
Revision 4f96edd by Thomas Dinges (soc-2014-cycles) May 24, 2014, 12:24 (GMT) |
Cycles: Use a function to calculate sin and cos at the same time. Only enabled for gcc atm, tested on an Ivy Bridge CPU with gcc 4.8. This gives me about 4% speedup in simple scenes like the cornell_box.blend and color_ramp.blend. Can probably also be enabled for clang and msvc later, they have a sincos() function as well. THis commit also contains small cleanup and a compile fix for the AVX2 kernel after merge. |
Commit Details:
Full Hash: 4f96edd254c6533ff7ddc56695c287b8c12c6540
Parent Commit: f9750f5
Lines Changed: +43, -20
6 Modified Paths:
/intern/cycles/kernel/closure/bsdf_microfacet.h (+5, -2) (Diff)
/intern/cycles/kernel/closure/volume.h (+1, -2) (Diff)
/intern/cycles/kernel/kernel_avx2.cpp (+1, -1) (Diff)
/intern/cycles/kernel/kernel_montecarlo.h (+19, -8) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+8, -3) (Diff)
/intern/cycles/util/util_math.h (+9, -4) (Diff)
/intern/cycles/kernel/closure/volume.h (+1, -2) (Diff)
/intern/cycles/kernel/kernel_avx2.cpp (+1, -1) (Diff)
/intern/cycles/kernel/kernel_montecarlo.h (+19, -8) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+8, -3) (Diff)
/intern/cycles/util/util_math.h (+9, -4) (Diff)