Blender Git Commit Log

Git Commits -> Revision 8c2750b

Revision 8c2750b by Sergey Sharybin (master)
June 8, 2015, 09:15 (GMT)
Cycles: Remove round-up trickery for max closure in split OpenCL kernel

Round-up was only enabled for viewport render, which was for a long time hardcoded to
use 64 closures. This was done in order to avoid unnecessary kernel re-compilations
when tweaking the shader tree.

We could enable selective closure compilation in the viewport later if it'll give
measurable speed improvements, but even then round-up is to happen outside of the
device level,

This commit also removes early output which happened in cases when max closure did
not change. It was wrong because other requested kernel features might have been
changed.

Commit Details:

Full Hash: 8c2750bc82533945022fe413844b8868dbdcd5e8
Parent Commit: c6c0628
Lines Changed: +7, -23

1 Modified Path:

/intern/cycles/device/device_opencl.cpp (+7, -23) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021