Blender Git Commit Log

Git Commits -> Revision e588106

Revision e588106 by Sergey Sharybin (master)
October 12, 2016, 12:43 (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: e588106d459207f04d28cfc3456355343d413446
Parent Commit: 42aeb60
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