From 4832538ad08198f88444997c55ca5ff2f9da4458 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 26 Sep 2014 14:22:11 +0600 Subject: Cycles: Keep STACK_MAX_HITS private in kernel_shadow This way adding record_all for other things becomes easier and doesn't lead to naming conflicts. --- intern/cycles/kernel/kernel_shadow.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intern/cycles/kernel/kernel_shadow.h b/intern/cycles/kernel/kernel_shadow.h index 28abc86cdb1..61954282c28 100644 --- a/intern/cycles/kernel/kernel_shadow.h +++ b/intern/cycles/kernel/kernel_shadow.h @@ -181,6 +181,8 @@ ccl_device_inline bool shadow_blocked(KernelGlobals *kg, PathState *state, Ray * return blocked; } +#undef STACK_MAX_HITS + #else /* Shadow function to compute how much light is blocked, GPU variation. -- cgit v1.2.3