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>2017-02-08 15:05:05 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-02-08 16:00:48 +0300
commit7447950bc3a3b11f0f1e0fd55df2031dbd3c0be2 (patch)
tree0343fb115b3c62d21c8e83a79ea74248b9502e3d
parent9830eeb44b84cdb12e477cbb067f3b7e56634024 (diff)
Cycles: Speedup transparent shadows on CUDA
This commit enables record-all behavior of transparent shadows rays. Render times difference goes as following: GTX 1080 render time BMW -0.5% Fishy Cat -0.0% Pabellon Barcelona -11.6% Classroom +1.2% Koro -58.6% Kernel will now use some extra VRAM memory to store the intersection array (200MB on my configuration). This we can optimize out with some further commits.
-rw-r--r--intern/cycles/kernel/kernel_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 8c271c75e44..f518530106c 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -84,6 +84,7 @@ CCL_NAMESPACE_BEGIN
# define __VOLUME_SCATTER__
# define __SUBSURFACE__
# define __CMJ__
+# define __SHADOW_RECORD_ALL__
#endif /* __KERNEL_CUDA__ */
#ifdef __KERNEL_OPENCL__