diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-09-26 12:22:11 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-09-26 12:23:48 +0400 |
commit | 4832538ad08198f88444997c55ca5ff2f9da4458 (patch) | |
tree | 6f955079a92681e03f07e05d147a957ae35b39b3 /intern/cycles | |
parent | 2854b9320254f99badf68fdf763e7101dbf153e5 (diff) |
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.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/kernel_shadow.h | 2 |
1 files changed, 2 insertions, 0 deletions
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. |