diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-21 18:46:16 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-03-31 11:06:21 +0300 |
commit | 63d017be90aef79492cae298e4c6add9abae067f (patch) | |
tree | 075a9242c24d3f083cb6f716d733382b15d3fb6d /intern/cycles/bvh/bvh_params.h | |
parent | e69a0ab5fcd54dbc9e4172739e41650bc07905c6 (diff) |
Cycles: Avoid per-split memory allocation for the new references list
Diffstat (limited to 'intern/cycles/bvh/bvh_params.h')
-rw-r--r-- | intern/cycles/bvh/bvh_params.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/bvh/bvh_params.h b/intern/cycles/bvh/bvh_params.h index 2b280d66e4a..2e579ba85a4 100644 --- a/intern/cycles/bvh/bvh_params.h +++ b/intern/cycles/bvh/bvh_params.h @@ -186,6 +186,7 @@ struct BVHSpatialStorage { vector<BoundBox> spatial_right_bounds; BVHSpatialBin spatial_bins[3][BVHParams::NUM_SPATIAL_BINS]; vector<int> spatial_indices; + vector<BVHReference> spatial_new_refs; }; CCL_NAMESPACE_END |