Cycles: Use feature-selective base kernel compilation when using split kernel
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 18 Jul 2015 13:09:25 +0000 (15:09 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 18 Jul 2015 14:02:08 +0000 (16:02 +0200)
commit36a952e3e487ede34ece9330a9ae1439364c5bdd
tree064f4fecb65c9a0d38d0cfcdf9eed853e5e2bdf1
parent5e4a8c6a871afd122874547bb0e6f08d9623e91a
Cycles: Use feature-selective base kernel compilation when using split kernel

The idea is to make all kernels as small as possible to work around possible
issues with buggy drivers which might fail building feature-complete kernels.

It's indeed just a workaround to make at last simple test scenes to render
on OpenCL. Real fix should happen from the driver side.
intern/cycles/device/device_opencl.cpp