diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-03-29 08:11:22 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-03-29 08:14:09 +0300 |
commit | 52302757cd9eec2213ed6d3df66728755b30120d (patch) | |
tree | 962f0b46898242628d9ed8c16b0eead62855241b /intern/cycles/kernel | |
parent | e3f1d980982b1c0da7853a960cbd3e9a3f434376 (diff) |
Fix T54455: OpenCL build error after recent changes.
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/kernel_path_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_path_state.h b/intern/cycles/kernel/kernel_path_state.h index 479bb22d780..8a358e51f94 100644 --- a/intern/cycles/kernel/kernel_path_state.h +++ b/intern/cycles/kernel/kernel_path_state.h @@ -164,6 +164,7 @@ ccl_device_inline void path_state_next(KernelGlobals *kg, ccl_addr_space PathSta #endif } +#ifdef __VOLUME__ ccl_device_inline bool path_state_volume_next(KernelGlobals *kg, ccl_addr_space PathState *state) { /* For volume bounding meshes we pass through without counting transparent @@ -180,6 +181,7 @@ ccl_device_inline bool path_state_volume_next(KernelGlobals *kg, ccl_addr_space return true; } +#endif ccl_device_inline uint path_state_ray_visibility(KernelGlobals *kg, ccl_addr_space PathState *state) { |