Blender  V3.3
intersect_subsurface.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: Apache-2.0
2  * Copyright 2011-2022 Blender Foundation */
3 
4 #pragma once
5 
7 
9 
11 {
13 
14 #ifdef __SUBSURFACE__
15  if (subsurface_scatter(kg, state)) {
16  return;
17  }
18 #endif
19 
21 }
22 
#define ccl_device
Definition: cuda/compat.h:32
#define CCL_NAMESPACE_END
Definition: cuda/compat.h:9
const KernelGlobalsCPU *ccl_restrict KernelGlobals
CCL_NAMESPACE_BEGIN ccl_device void integrator_intersect_subsurface(KernelGlobals kg, IntegratorState state)
const int state
@ DEVICE_KERNEL_INTEGRATOR_INTERSECT_SUBSURFACE
#define PROFILING_INIT(kg, event)
IntegratorStateCPU *ccl_restrict IntegratorState
Definition: state.h:147
ccl_device_forceinline void integrator_path_terminate(KernelGlobals kg, IntegratorState state, const DeviceKernel current_kernel)
Definition: state_flow.h:160
@ PROFILING_INTERSECT_SUBSURFACE