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.
This commit is contained in:
Sergey Sharybin 2014-09-26 14:22:11 +06:00
parent 2854b93202
commit 4832538ad0

@ -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.