Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-05-26 19:08:21 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-05-26 19:29:21 +0300
commitcf19012fb0f61f4b1af6c05d3fbce9649a56147c (patch)
tree88294bfc2351b171f9e3e251e4547178db66f871
parentb90c7dd730f15a9708a6bfcb507bf7264508deba (diff)
Fix T44831: Crash when using Intel OpenCL with split kernel
The issue was caused by underallocation of object motion related arrays, which happened by accident.
-rw-r--r--intern/cycles/device/device_opencl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 2f9f9af13d2..72224d3f027 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -2329,7 +2329,7 @@ public:
/* Object motion. */
ob_tfm_sd = mem_alloc(num_global_elements * sizeof(Transform));
ob_tfm_sd_DL_shadow = mem_alloc(num_global_elements * 2 * sizeof(Transform));
- ob_itfm_sd = mem_alloc(num_global_elements * sizeof(float3));
+ ob_itfm_sd = mem_alloc(num_global_elements * sizeof(Transform));
ob_itfm_sd_DL_shadow = mem_alloc(num_global_elements * 2 * sizeof(Transform));
closure_sd = mem_alloc(num_global_elements * ShaderClosure_size);