Blender
V3.3
|
Go to the source code of this file.
ccl_device_inline int integrator_state_bounce | ( | ConstIntegratorShadowState | state, |
const int | |||
) |
Definition at line 347 of file state_util.h.
References INTEGRATOR_STATE, and state.
ccl_device_inline int integrator_state_bounce | ( | ConstIntegratorState | state, |
const int | |||
) |
Definition at line 342 of file state_util.h.
References INTEGRATOR_STATE, and state.
Referenced by svm_node_light_path().
ccl_device_forceinline void integrator_state_copy_volume_stack | ( | KernelGlobals | kg, |
IntegratorState | to_state, | ||
ConstIntegratorState | state | ||
) |
Definition at line 160 of file state_util.h.
References INTEGRATOR_STATE_ARRAY, INTEGRATOR_STATE_ARRAY_WRITE, kernel_data, KERNEL_FEATURE_VOLUME, OBJECT_NONE, and state.
Referenced by integrator_state_shadow_catcher_split().
ccl_device_forceinline void integrator_state_copy_volume_stack_to_shadow | ( | KernelGlobals | kg, |
IntegratorShadowState | shadow_state, | ||
ConstIntegratorState | state | ||
) |
Definition at line 142 of file state_util.h.
References INTEGRATOR_STATE_ARRAY, INTEGRATOR_STATE_ARRAY_WRITE, kernel_data, KERNEL_FEATURE_VOLUME, OBJECT_NONE, and state.
ccl_device_inline int integrator_state_diffuse_bounce | ( | ConstIntegratorShadowState | state, |
const int | |||
) |
Definition at line 357 of file state_util.h.
References INTEGRATOR_STATE, and state.
ccl_device_inline int integrator_state_diffuse_bounce | ( | ConstIntegratorState | state, |
const int | |||
) |
Definition at line 352 of file state_util.h.
References INTEGRATOR_STATE, and state.
Referenced by svm_node_light_path().
ccl_device_inline int integrator_state_glossy_bounce | ( | ConstIntegratorShadowState | state, |
const int | |||
) |
Definition at line 367 of file state_util.h.
References INTEGRATOR_STATE, and state.
ccl_device_inline int integrator_state_glossy_bounce | ( | ConstIntegratorState | state, |
const int | |||
) |
Definition at line 362 of file state_util.h.
References INTEGRATOR_STATE, and state.
Referenced by svm_node_light_path().
ccl_device_forceinline void integrator_state_read_isect | ( | KernelGlobals | kg, |
ConstIntegratorState | state, | ||
ccl_private Intersection *ccl_restrict | isect | ||
) |
Definition at line 79 of file state_util.h.
References INTEGRATOR_STATE, state, t, type, and v.
Referenced by integrate_light(), integrate_surface_shader_setup(), and integrator_shade_volume().
ccl_device_forceinline void integrator_state_read_ray | ( | KernelGlobals | kg, |
ConstIntegratorState | state, | ||
ccl_private Ray *ccl_restrict | ray | ||
) |
Definition at line 27 of file state_util.h.
References D(), INTEGRATOR_STATE, P(), state, and time.
Referenced by integrate_surface_shader_setup(), integrator_intersect_closest(), integrator_shade_volume(), and integrator_volume_stack_init().
ccl_device_forceinline void integrator_state_read_shadow_isect | ( | ConstIntegratorShadowState | state, |
ccl_private Intersection *ccl_restrict | isect, | ||
const int | index | ||
) |
Definition at line 129 of file state_util.h.
References INTEGRATOR_STATE_ARRAY, state, t, type, and v.
ccl_device_forceinline void integrator_state_read_shadow_ray | ( | KernelGlobals | kg, |
ConstIntegratorShadowState | state, | ||
ccl_private Ray *ccl_restrict | ray | ||
) |
Definition at line 53 of file state_util.h.
References D(), differential_zero_compact(), INTEGRATOR_STATE, P(), state, and time.
Referenced by integrator_intersect_shadow().
ccl_device_forceinline VolumeStack integrator_state_read_shadow_volume_stack | ( | ConstIntegratorShadowState | state, |
int | i | ||
) |
Definition at line 180 of file state_util.h.
References INTEGRATOR_STATE_ARRAY, and state.
Referenced by shadow_volume_stack_enter_exit().
ccl_device_forceinline VolumeStack integrator_state_read_volume_stack | ( | ConstIntegratorState | state, |
int | i | ||
) |
Definition at line 90 of file state_util.h.
References INTEGRATOR_STATE_ARRAY, and state.
Referenced by integrator_volume_stack_init(), volume_stack_enter_exit(), and volume_stack_sample_method().
ccl_device_inline IntegratorState integrator_state_shadow_catcher_split | ( | KernelGlobals | kg, |
IntegratorState | state | ||
) |
Definition at line 320 of file state_util.h.
References atomic_fetch_and_add_uint32(), ccl_restrict, integrator_state_copy_volume_stack(), kernel_integrator_state, and state.
ccl_device_forceinline bool integrator_state_shadow_volume_stack_is_empty | ( | KernelGlobals | kg, |
ConstIntegratorShadowState | state | ||
) |
Definition at line 187 of file state_util.h.
References INTEGRATOR_STATE_ARRAY, kernel_data, KERNEL_FEATURE_VOLUME, SHADER_NONE, and state.
ccl_device_inline int integrator_state_transmission_bounce | ( | ConstIntegratorShadowState | state, |
const int | |||
) |
Definition at line 377 of file state_util.h.
References INTEGRATOR_STATE, and state.
ccl_device_inline int integrator_state_transmission_bounce | ( | ConstIntegratorState | state, |
const int | |||
) |
Definition at line 372 of file state_util.h.
References INTEGRATOR_STATE, and state.
Referenced by svm_node_light_path().
ccl_device_inline int integrator_state_transparent_bounce | ( | ConstIntegratorShadowState | state, |
const int | |||
) |
Definition at line 388 of file state_util.h.
References INTEGRATOR_STATE, and state.
ccl_device_inline int integrator_state_transparent_bounce | ( | ConstIntegratorState | state, |
const int | |||
) |
Definition at line 383 of file state_util.h.
References INTEGRATOR_STATE, and state.
Referenced by svm_node_light_path().
ccl_device_forceinline bool integrator_state_volume_stack_is_empty | ( | KernelGlobals | kg, |
ConstIntegratorState | state | ||
) |
Definition at line 106 of file state_util.h.
References INTEGRATOR_STATE_ARRAY, kernel_data, KERNEL_FEATURE_VOLUME, SHADER_NONE, and state.
Referenced by integrator_intersect_next_kernel(), and integrator_intersect_terminate().
ccl_device_forceinline void integrator_state_write_isect | ( | KernelGlobals | kg, |
IntegratorState | state, | ||
ccl_private const Intersection *ccl_restrict | isect | ||
) |
Definition at line 68 of file state_util.h.
References INTEGRATOR_STATE_WRITE, state, t, type, and v.
Referenced by integrator_init_from_bake(), and integrator_intersect_closest().
CCL_NAMESPACE_BEGIN ccl_device_forceinline void integrator_state_write_ray | ( | KernelGlobals | kg, |
IntegratorState | state, | ||
ccl_private const Ray *ccl_restrict | ray | ||
) |
Definition at line 14 of file state_util.h.
References D(), INTEGRATOR_STATE_WRITE, P(), state, and time.
Referenced by integrator_init_from_bake(), and integrator_init_from_camera().
ccl_device_forceinline void integrator_state_write_shadow_isect | ( | IntegratorShadowState | state, |
ccl_private const Intersection *ccl_restrict | isect, | ||
const int | index | ||
) |
Definition at line 116 of file state_util.h.
References INTEGRATOR_STATE_ARRAY_WRITE, state, t, type, and v.
Referenced by BVH().
ccl_device_forceinline void integrator_state_write_shadow_ray | ( | KernelGlobals | kg, |
IntegratorShadowState | state, | ||
ccl_private const Ray *ccl_restrict | ray | ||
) |
Definition at line 42 of file state_util.h.
References D(), INTEGRATOR_STATE_WRITE, P(), state, and time.
ccl_device_forceinline void integrator_state_write_shadow_volume_stack | ( | IntegratorShadowState | state, |
int | i, | ||
VolumeStack | entry | ||
) |
Definition at line 195 of file state_util.h.
References INTEGRATOR_STATE_ARRAY_WRITE, VolumeStack::object, VolumeStack::shader, and state.
Referenced by shadow_volume_stack_enter_exit().
ccl_device_forceinline void integrator_state_write_volume_stack | ( | IntegratorState | state, |
int | i, | ||
VolumeStack | entry | ||
) |
Definition at line 98 of file state_util.h.
References INTEGRATOR_STATE_ARRAY_WRITE, VolumeStack::object, VolumeStack::shader, and state.
Referenced by integrator_volume_stack_init(), and volume_stack_enter_exit().