Cycles: Only sort indices when finding a best dimension to split
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 22 Feb 2016 15:25:33 +0000 (16:25 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 31 Mar 2016 08:06:21 +0000 (10:06 +0200)
commitd9b729e342b72bfe31e7932723a149db3b7aa77c
treecc1de21b2999dea8ad4be41752e030758f280b09
parentbbbbe68473e02567a902a6405ca09de216674615
Cycles: Only sort indices when finding a best dimension to split

This reduces amount of data being moved back and forth, which should
have positive effect on the performance.
intern/cycles/bvh/bvh_build.cpp
intern/cycles/bvh/bvh_params.h
intern/cycles/bvh/bvh_sort.cpp
intern/cycles/bvh/bvh_sort.h
intern/cycles/bvh/bvh_split.cpp