diff options
author | Thomas Dinges <blender@dingto.org> | 2015-03-12 13:58:43 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2015-03-12 15:50:11 +0300 |
commit | cdb47b9dfc2d30345748d6736702e06f7e5d0369 (patch) | |
tree | 7be1d3e3db4c6494d50cfbbbaf3eb0846ba1b912 /source/blender/imbuf/intern/bmp.c | |
parent | 583466fccf732f23e2d37ae51f925608d1a6ae49 (diff) |
Cycles: Make Background MIS building threaded
Use multiple threads for building the MIS table, if the
resolution is higher than 512.
Also replace division by cdf_total, with a inverse multiplication by
cdf_total_inv. This gives further speedup.
On my Macbook (8 CPU threads) this improves the time to build the table:
Resolution 4096: From 0.16s to 0.03s
Resolution 8096: From 0.61s to 0.11s
This especially helps to reduce the scene update time, when tweaking world
shader while viewport rendering is running.
Patch by Sergey and myself.
Differential Revision: https://developer.blender.org/D1159
Diffstat (limited to 'source/blender/imbuf/intern/bmp.c')
0 files changed, 0 insertions, 0 deletions