Cycles: Report human-readable string of compilation error code
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 4 Aug 2016 10:14:43 +0000 (12:14 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 4 Aug 2016 10:14:43 +0000 (12:14 +0200)
commit29dc04d9bb59f557f5e39f458df2ebc6cb53090a
tree10467ffeede77ddfb4efa8790904305d61adb579
parent14720e2e6265efdcdfe9971226d33db51e477970
Cycles: Report human-readable string of compilation error code

It is possible that compilation will fail without giving anything in the
log buffer. For this cases giving a tip about error code will be really
handy.

Patch by @Ilia, thanks!
intern/cycles/device/device_opencl.cpp