forked from bartvdbraak/blender
Fix T54455: OpenCL build error after recent changes.
This commit is contained in:
parent
e3f1d98098
commit
52302757cd
@ -164,6 +164,7 @@ ccl_device_inline void path_state_next(KernelGlobals *kg, ccl_addr_space PathSta
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __VOLUME__
|
||||||
ccl_device_inline bool path_state_volume_next(KernelGlobals *kg, ccl_addr_space PathState *state)
|
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
|
/* 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
ccl_device_inline uint path_state_ray_visibility(KernelGlobals *kg, ccl_addr_space PathState *state)
|
ccl_device_inline uint path_state_ray_visibility(KernelGlobals *kg, ccl_addr_space PathState *state)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user