diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2016-10-07 19:50:43 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-10-19 15:26:39 +0300 |
commit | 117329ae6de7b0da020afb9440984a57e6f640ed (patch) | |
tree | c9d5fd442eab420655aada66faa3a9c655e12574 /intern/cycles/kernel | |
parent | 6601b4cbdc897e0d01625e5f5ffe6a17dbcd7787 (diff) |
Cycles: Fix OpenCL split kernel compilation after recent CUDA 8 performance fix
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/split/kernel_scene_intersect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/split/kernel_scene_intersect.h b/intern/cycles/kernel/split/kernel_scene_intersect.h index faa752c360e..fc4b4ee38e5 100644 --- a/intern/cycles/kernel/split/kernel_scene_intersect.h +++ b/intern/cycles/kernel/split/kernel_scene_intersect.h @@ -109,9 +109,9 @@ ccl_device void kernel_scene_intersect( lcg_state = lcg_state_init(&rng, &state, 0x51633e2d); } - bool hit = scene_intersect(kg, &ray, visibility, isect, &lcg_state, difl, extmax); + bool hit = scene_intersect(kg, ray, visibility, isect, &lcg_state, difl, extmax); #else - bool hit = scene_intersect(kg, &ray, visibility, isect, NULL, 0.0f, 0.0f); + bool hit = scene_intersect(kg, ray, visibility, isect, NULL, 0.0f, 0.0f); #endif #ifdef __KERNEL_DEBUG__ |