blender/intern/cycles/kernel/closure
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
..
bsdf_ashikhmin_shirley.h Cleanup: Code style. 2015-04-26 00:42:26 +02:00
bsdf_ashikhmin_velvet.h Cleanup: Code style. 2015-04-26 00:42:26 +02:00
bsdf_diffuse_ramp.h Fix T43926: Volume scatter: intersecting objects GPU rendering artifacts 2015-03-23 12:48:33 +05:00
bsdf_diffuse.h Fix T44123: Cycles SSS renders black in recent builds 2015-03-25 02:33:49 +05:00
bsdf_hair.h Cleanup for Cycles hair shader ifdefs. 2015-02-18 15:57:39 +01:00
bsdf_microfacet.h Cycles: Use native saturate function for CUDA 2015-04-28 00:38:32 +05:00
bsdf_oren_nayar.h Cycles: Use native saturate function for CUDA 2015-04-28 00:38:32 +05:00
bsdf_phong_ramp.h Fix T43926: Volume scatter: intersecting objects GPU rendering artifacts 2015-03-23 12:48:33 +05:00
bsdf_reflection.h Fix T44123: Cycles SSS renders black in recent builds 2015-03-25 02:33:49 +05:00
bsdf_refraction.h Fix T44123: Cycles SSS renders black in recent builds 2015-03-25 02:33:49 +05:00
bsdf_toon.h Cycles: Use native saturate function for CUDA 2015-04-28 00:38:32 +05:00
bsdf_transparent.h Fix T44123: Cycles SSS renders black in recent builds 2015-03-25 02:33:49 +05:00
bsdf_util.h Comment out SVM fresnel_conductor() function for now, still unused. 2014-09-07 21:13:00 +02:00
bsdf.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
bssrdf.h Cycles: Use native saturate function for CUDA 2015-04-28 00:38:32 +05:00
emissive.h Cycles: change __device and similar qualifiers to ccl_device in kernel code. 2013-11-18 08:48:15 +01:00
volume.h Fix T44123: Cycles SSS renders black in recent builds 2015-03-25 02:33:49 +05:00