Cycles: Fix zero-size buffer allocation with OpenCL devices
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 1 Jul 2015 09:56:48 +0000 (11:56 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 1 Jul 2015 09:56:48 +0000 (11:56 +0200)
commit78de47ca24044039cf3b760ef22e7fa184df45df
tree45b52f0f8c8edc11a9d10e6666ab0418734d09ac
parent9b64ebc605bafd3efa670b39dd53c100c7235cd7
Cycles: Fix zero-size buffer allocation with OpenCL devices

This is not really supported by OpenCL but might happen in certain
configurations. There might be some remained cases when this happens
but so far can not find any,
intern/cycles/device/device_opencl.cpp