Blender  V3.3
Functions
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 135 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 142 of file state_flow.h.

References INTEGRATOR_STATE_WRITE, state, and void.

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 32 of file state_flow.h.

References INTEGRATOR_STATE, and state.

Referenced by kernel_shadow_catcher_path_can_split().

◆ integrator_path_next()

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

◆ 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()

ccl_device_forceinline void integrator_path_terminate ( KernelGlobals  kg,
IntegratorState  state,
const DeviceKernel  current_kernel 
)

◆ 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 179 of file state_flow.h.

References INTEGRATOR_STATE_WRITE, and state.

◆ integrator_shadow_path_is_terminated()

ccl_device_forceinline bool integrator_shadow_path_is_terminated ( ConstIntegratorShadowState  state)

Definition at line 37 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 187 of file state_flow.h.

References INTEGRATOR_STATE_WRITE, state, and void.

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 196 of file state_flow.h.

References INTEGRATOR_STATE_WRITE, state, and void.

Referenced by integrator_intersect_shadow(), and integrator_shade_shadow().