Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-03-23 18:16:05 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-03-23 19:58:03 +0300
commitba8c7d2ba120f5ba7fdbaef67fe2e301ec3e5dcb (patch)
treef2cb920306275c6608c2b03a40c277b9fa584fbd /intern/cycles/kernel/bvh/bvh_subsurface.h
parenta1348dde2ed27d0a8a1d62f9e17602857b1f19f1 (diff)
Cycles: Use SSE-optimized version of triangle intersection for motion triangles
The title says it all actually. Gives up to 10% speedup on test scenes here on i7-6800K. Render times on GPU are unreliable here, but there might be some slowdown caused by watertight nature of intersections.
Diffstat (limited to 'intern/cycles/kernel/bvh/bvh_subsurface.h')
-rw-r--r--intern/cycles/kernel/bvh/bvh_subsurface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/bvh/bvh_subsurface.h b/intern/cycles/kernel/bvh/bvh_subsurface.h
index 11ea1f89c8b..cb7a4e3bc31 100644
--- a/intern/cycles/kernel/bvh/bvh_subsurface.h
+++ b/intern/cycles/kernel/bvh/bvh_subsurface.h
@@ -214,9 +214,9 @@ void BVH_FUNCTION_FULL_NAME(BVH)(KernelGlobals *kg,
for(; prim_addr < prim_addr2; prim_addr++) {
kernel_assert(kernel_tex_fetch(__prim_type, prim_addr) == type);
motion_triangle_intersect_subsurface(kg,
+ &isect_precalc,
ss_isect,
P,
- dir,
ray->time,
object,
prim_addr,