Blender V4.3
state_flow.h File Reference
#include "kernel/types.h"
#include "util/atomic.h"

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_forceinline bool integrator_path_is_terminated (ConstIntegratorState state)
 
ccl_device_forceinline bool integrator_shadow_path_is_terminated (ConstIntegratorShadowState state)
 
ccl_device_forceinline void integrator_path_init (KernelGlobals kg, IntegratorState state, const DeviceKernel next_kernel)
 
ccl_device_forceinline void integrator_path_init_sorted (KernelGlobals kg, IntegratorState state, const DeviceKernel next_kernel, const uint32_t key)
 
ccl_device_forceinline void integrator_path_next (KernelGlobals kg, IntegratorState state, const DeviceKernel current_kernel, const DeviceKernel next_kernel)
 
ccl_device_forceinline void integrator_path_terminate (KernelGlobals kg, IntegratorState state, const DeviceKernel current_kernel)
 
ccl_device_forceinline void integrator_path_next_sorted (KernelGlobals kg, IntegratorState state, const DeviceKernel current_kernel, const DeviceKernel next_kernel, const uint32_t key)
 
ccl_device_forceinline IntegratorShadowState integrator_shadow_path_init (KernelGlobals kg, IntegratorState state, const DeviceKernel next_kernel, const bool is_ao)
 
ccl_device_forceinline void integrator_shadow_path_next (KernelGlobals kg, IntegratorShadowState state, const DeviceKernel current_kernel, const DeviceKernel next_kernel)
 
ccl_device_forceinline void integrator_shadow_path_terminate (KernelGlobals kg, IntegratorShadowState state, const DeviceKernel current_kernel)
 

Function Documentation

◆ integrator_path_init()

ccl_device_forceinline void integrator_path_init ( KernelGlobals kg,
IntegratorState state,
const DeviceKernel next_kernel )

Definition at line 153 of file state_flow.h.

References INTEGRATOR_STATE_WRITE, and state.

Referenced by integrator_init_from_bake(), and integrator_init_from_camera().

◆ integrator_path_init_sorted()

ccl_device_forceinline void integrator_path_init_sorted ( KernelGlobals kg,
IntegratorState state,
const DeviceKernel next_kernel,
const uint32_t key )

Definition at line 160 of file state_flow.h.

References INTEGRATOR_STATE_WRITE, and state.

Referenced by integrator_init_from_bake().

◆ integrator_path_is_terminated()

CCL_NAMESPACE_BEGIN ccl_device_forceinline bool integrator_path_is_terminated ( ConstIntegratorState state)

Definition at line 33 of file state_flow.h.

References INTEGRATOR_STATE, and state.

Referenced by kernel_shadow_catcher_path_can_split().

◆ integrator_path_next()

◆ integrator_path_next_sorted()

ccl_device_forceinline void integrator_path_next_sorted ( KernelGlobals kg,
IntegratorState state,
const DeviceKernel current_kernel,
const DeviceKernel next_kernel,
const uint32_t key )

◆ integrator_path_terminate()

◆ integrator_shadow_path_init()

ccl_device_forceinline IntegratorShadowState integrator_shadow_path_init ( KernelGlobals kg,
IntegratorState state,
const DeviceKernel next_kernel,
const bool is_ao )

Definition at line 197 of file state_flow.h.

References INTEGRATOR_STATE_WRITE, and state.

Referenced by integrate_direct_light_shadow_init_common().

◆ integrator_shadow_path_is_terminated()

ccl_device_forceinline bool integrator_shadow_path_is_terminated ( ConstIntegratorShadowState state)

Definition at line 38 of file state_flow.h.

References INTEGRATOR_STATE, and state.

◆ integrator_shadow_path_next()

ccl_device_forceinline void integrator_shadow_path_next ( KernelGlobals kg,
IntegratorShadowState state,
const DeviceKernel current_kernel,
const DeviceKernel next_kernel )

Definition at line 208 of file state_flow.h.

References INTEGRATOR_STATE_WRITE, and state.

Referenced by integrator_intersect_shadow(), and integrator_shade_shadow().

◆ integrator_shadow_path_terminate()

ccl_device_forceinline void integrator_shadow_path_terminate ( KernelGlobals kg,
IntegratorShadowState state,
const DeviceKernel current_kernel )

Definition at line 217 of file state_flow.h.

References INTEGRATOR_STATE_WRITE, and state.

Referenced by integrator_intersect_shadow(), and integrator_shade_shadow().