diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-07-13 15:22:42 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-07-14 17:36:38 +0300 |
commit | 28c3739a9bc055b3a3e5ba2f5cfc219f70d64dfa (patch) | |
tree | 4bb752ff0df62426e8d0404fccb6c5d4e59b6ff0 /intern/cycles/kernel/integrator/shade_light.h | |
parent | 5539fb3121313f91b6e46d982ef62ff97763d2c2 (diff) |
Cleanup: replace state flow macros in the kernel with functions
Diffstat (limited to 'intern/cycles/kernel/integrator/shade_light.h')
-rw-r--r-- | intern/cycles/kernel/integrator/shade_light.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/integrator/shade_light.h b/intern/cycles/kernel/integrator/shade_light.h index be926c78439..7b3e9e0ee7e 100644 --- a/intern/cycles/kernel/integrator/shade_light.h +++ b/intern/cycles/kernel/integrator/shade_light.h @@ -99,11 +99,11 @@ ccl_device void integrator_shade_light(KernelGlobals kg, INTEGRATOR_STATE_WRITE(state, path, transparent_bounce) = transparent_bounce; if (transparent_bounce >= kernel_data.integrator.transparent_max_bounce) { - INTEGRATOR_PATH_TERMINATE(DEVICE_KERNEL_INTEGRATOR_SHADE_LIGHT); + integrator_path_terminate(kg, state, DEVICE_KERNEL_INTEGRATOR_SHADE_LIGHT); return; } else { - INTEGRATOR_PATH_NEXT(DEVICE_KERNEL_INTEGRATOR_SHADE_LIGHT, + integrator_path_next(kg, state, DEVICE_KERNEL_INTEGRATOR_SHADE_LIGHT, DEVICE_KERNEL_INTEGRATOR_INTERSECT_CLOSEST); return; } |