Blender Git Commit Log

Git Commits -> Revision 73bae90

January 20, 2017, 10:25 (GMT)
Cycles: Use more SSE intrinsics for float3 type

This gives about 5% speedup on AVX2 kernels (other kernels still
have SSE disabled for math operations) and this solves the slowdown
of koro scene mention in the previous commit.

The title says it all actually. This commit also contains
changes to pass float3 as const reference in affected functions.

This should make MSVC happier without breaking OpenCL because it's
only done in areas which are ifdef-ed for non-OpenCL.

Another patch based on inspiration from Maxym Dmytrychenko, thanks!

Commit Details:

Full Hash: 73bae906204b77f3d412f08c66689550e6ee85ca
Parent Commit: c01d7c8
Lines Changed: +75, -18

2 Modified Paths:

/intern/cycles/util/util_math.h (+61, -17) (Diff)
/intern/cycles/util/util_types.h (+14, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021