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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user