blender/intern/cycles/render
George Kyriazis 7f4479da42 Cycles: OpenCL kernel split
This commit contains all the work related on the AMD megakernel split work
which was mainly done by Varun Sundar, George Kyriazis and Lenny Wang, plus
some help from Sergey Sharybin, Martijn Berger, Thomas Dinges and likely
someone else which we're forgetting to mention.

Currently only AMD cards are enabled for the new split kernel, but it is
possible to force split opencl kernel to be used by setting the following
environment variable: CYCLES_OPENCL_SPLIT_KERNEL_TEST=1.

Not all the features are supported yet, and that being said no motion blur,
camera blur, SSS and volumetrics for now. Also transparent shadows are
disabled on AMD device because of some compiler bug.

This kernel is also only implements regular path tracing and supporting
branched one will take a bit. Branched path tracing is exposed to the
interface still, which is a bit misleading and will be hidden there soon.

More feature will be enabled once they're ported to the split kernel and
tested.

Neither regular CPU nor CUDA has any difference, they're generating the
same exact code, which means no regressions/improvements there.

Based on the research paper:

  https://research.nvidia.com/sites/default/files/publications/laine2013hpg_paper.pdf

Here's the documentation:

  https://docs.google.com/document/d/1LuXW-CV-sVJkQaEGZlMJ86jZ8FmoPfecaMdR-oiWbUY/edit

Design discussion of the patch:

  https://developer.blender.org/T44197

Differential Revision: https://developer.blender.org/D1200
2015-05-09 19:52:40 +05:00
..
attribute.cpp Cycles: Code cleanup, spaces around keywords 2015-03-28 00:15:15 +05:00
attribute.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
background.cpp Cycles: Code cleanup, prepare for strict C++ flags 2015-03-27 18:23:31 +05:00
background.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
bake.cpp Bake-API: reduce memory footprint when baking more than one object (Fix T41092) 2015-04-17 12:25:37 -03:00
bake.h Bake-API: reduce memory footprint when baking more than one object (Fix T41092) 2015-04-17 12:25:37 -03:00
buffers.cpp Cycles: Use native saturate function for CUDA 2015-04-28 00:38:32 +05:00
buffers.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
camera.cpp Cleanup: Code style. 2015-04-26 00:42:26 +02:00
camera.h Cycles: Cleanup, make more clear what camera utility functions are private/public 2015-04-10 16:25:35 +05:00
CMakeLists.txt Cycles: Use curve approximation for blackbody instead of lookup table 2015-05-05 06:11:54 +00:00
curves.cpp Cycles: Code cleanup, prepare for strict C++ flags 2015-03-27 18:23:31 +05:00
curves.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
film.cpp Cycles: Code cleanup, prepare for strict C++ flags 2015-03-27 18:23:31 +05:00
film.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
graph.cpp Cycles: Add utility function to graph to query number of closures used in it 2015-05-09 19:13:32 +05:00
graph.h Cycles: Initial work towards selective nodes support compilation 2015-05-09 19:22:16 +05:00
image.cpp Cycles: Synchronize images after building mesh BVH 2015-04-20 17:29:51 +05:00
image.h Cycles: Synchronize images after building mesh BVH 2015-04-20 17:29:51 +05:00
integrator.cpp Cycles: Code cleanup, prepare for strict C++ flags 2015-03-27 18:23:31 +05:00
integrator.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
light.cpp Cycles: Added support for light portals 2015-04-28 01:30:16 +05:00
light.h Cycles: Added support for light portals 2015-04-28 01:30:16 +05:00
mesh_displace.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
mesh.cpp Cycles: Split BVH nodes storage into inner and leaf nodes 2015-04-20 17:29:51 +05:00
mesh.h Cycles: Synchronize images after building mesh BVH 2015-04-20 17:29:51 +05:00
nodes.cpp Cycles: Add utility function to graph to query number of closures used in it 2015-05-09 19:13:32 +05:00
nodes.h Cycles: Initial work towards selective nodes support compilation 2015-05-09 19:22:16 +05:00
object.cpp Cycles: Add some statistics logging 2015-04-10 15:37:49 +05:00
object.h Fix T43311: using displacement shader crashes blender 2015-01-19 19:23:21 +05:00
osl.cpp Cleanup: Remove unused ray type flags. 2015-05-08 12:10:26 +02:00
osl.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
particles.cpp Cycles: Add some statistics logging 2015-04-10 15:37:49 +05:00
particles.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
scene.cpp Cycles: Fix wrong order in object flags calculations 2015-04-30 01:09:48 +05:00
scene.h Cycles: Split BVH nodes storage into inner and leaf nodes 2015-04-20 17:29:51 +05:00
session.cpp Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
session.h Cycles: Add utility function to count maximum number of closures used by session 2015-05-09 19:17:49 +05:00
shader.cpp Cycles: Initial work towards selective nodes support compilation 2015-05-09 19:22:16 +05:00
shader.h Cycles: Initial work towards selective nodes support compilation 2015-05-09 19:22:16 +05:00
sky_model_data.h Cycles: Code cleanyp, sky model 2015-03-28 00:28:37 +05:00
sky_model.cpp Cycles: Code cleanyp, sky model 2015-03-28 00:28:37 +05:00
sky_model.h Cycles: Code cleanyp, sky model 2015-03-28 00:28:37 +05:00
sobol.cpp Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
sobol.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm.cpp Cycles: Use curve approximation for blackbody instead of lookup table 2015-05-05 06:11:54 +00:00
svm.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
tables.cpp Cycles: Add some statistics logging 2015-04-10 15:37:49 +05:00
tables.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
tile.cpp Cycles: Code cleanup, spaces around keywords 2015-03-28 00:15:15 +05:00
tile.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00