blender/intern/cycles/kernel
Sergey Sharybin 2aa4b6045a Cycles: Fix wrong closure counter in feature adaptive kernel
Some closures were missing from calculation, leading to an array
under-allocation, presumable causing memory corruption issues with
emission shaders on OpenCL and was causing issues with Volume 3D
textures with CUDA.

The issue was identified by Thomas Dinges, the patch is different
from the original D2006. See the brief discussion there. Current
approach is similar (or the same) as Brecht suggested.
2016-05-23 14:09:27 +02:00
..
closure Cycles: Minor cleanup, whitespace around keyword and preprocessor indent 2016-04-13 08:58:52 +02:00
geom Cycles: Add support for bindless textures. 2016-05-19 13:14:37 +02:00
kernels Cycles: Fix long compile time with MSVC. 2016-05-20 16:50:29 +02:00
osl Code refactor: add generic Cycles node infrastructure. 2016-05-22 17:29:24 +02:00
shaders Code refactor: use dynamic shader node array lengths now that OSL supports them. 2016-05-17 21:39:16 +02:00
split Cycles: Cleanup, indentation and braces 2016-02-03 15:00:55 +01:00
svm Cycles: Fix wrong closure counter in feature adaptive kernel 2016-05-23 14:09:27 +02:00
CMakeLists.txt Cycles: Fix long compile time with MSVC. 2016-05-20 16:50:29 +02:00
kernel_accumulate.h Fix T47461: Different results on CPU and GPU when using Branched Path Tracing 2016-02-18 01:23:38 +01:00
kernel_bake.h Fix T47727: Weird bake results with non integer color values 2016-05-18 15:11:05 +02:00
kernel_camera.h Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00
kernel_compat_cpu.h Cycles: Fix long compile time with MSVC. 2016-05-20 16:50:29 +02:00
kernel_compat_cuda.h Cycles: Add support for bindless textures. 2016-05-19 13:14:37 +02:00
kernel_compat_opencl.h Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00
kernel_debug.h Cycles: Add debug pass which shows number of instance pushes during camera ray intersection 2015-06-12 00:12:03 +02:00
kernel_differential.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_emission.h Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00
kernel_film.h Cycles: Use native saturate function for CUDA 2015-04-28 00:38:32 +05:00
kernel_globals.h Cycles: Reduce amount of malloc() calls from the kernel 2016-05-18 10:14:24 +02:00
kernel_jitter.h Fix T48301: Cycles incorrect render with CMJ and viewport samples 0. 2016-04-28 23:57:20 +02:00
kernel_light.h Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00
kernel_math.h Cleanup: Move texture definitions to util, to avoid bad level include. 2016-04-15 23:02:44 +02:00
kernel_montecarlo.h
kernel_passes.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_path_branched.h Workaround for T47213: branched path sampling issues with CUDA 7.5. 2016-02-19 00:49:24 +01:00
kernel_path_common.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_path_state.h Cleanup: remove Cycles layer bits checking in the kernel. 2016-05-22 17:36:38 +02:00
kernel_path_surface.h Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00
kernel_path_volume.h Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00
kernel_path.h Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00
kernel_projection.h Cycles: Pole merging for spherical stereo 2016-05-18 10:56:57 +02:00
kernel_queues.h Cycles: Code cleanup in split kernel, whitespaces 2015-07-03 11:03:56 +02:00
kernel_random.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_shader.h Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00
kernel_shadow.h Cycles: Reduce amount of malloc() calls from the kernel 2016-05-18 10:14:24 +02:00
kernel_subsurface.h Fix Burley BSSRDF NaNs and fireflies. 2016-02-06 11:52:43 +01:00
kernel_textures.h Cycles: Add support for bindless textures. 2016-05-19 13:14:37 +02:00
kernel_types.h Cleanup: remove Cycles layer bits checking in the kernel. 2016-05-22 17:36:38 +02:00
kernel_volume.h Cleanup: remove Cycles layer bits checking in the kernel. 2016-05-22 17:36:38 +02:00
kernel_work_stealing.h Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00
kernel.h Cycles: Deduplicte CPU kernel declaration and definition code 2015-12-30 17:54:02 +05:00