60 locals->queue_atomics_bg = 0;
61 locals->queue_atomics_ao = 0;
66 char enqueue_flag = 0;
106 if (probability == 0.0f) {
109 else if (probability < 1.0f) {
111 if (terminate >= probability) {
119 #ifdef __DENOISING_FEATURES__
122 kernel_update_denoising_features(
kg, sd,
state,
L);
130 if (
kernel_data.integrator.use_ambient_occlusion) {
143 &locals->queue_atomics_ao,
#define ccl_global_size(d)
ccl_device_inline uint ccl_local_id(uint d)
#define CCL_NAMESPACE_END
CCL_NAMESPACE_BEGIN ccl_device void kernel_holdout_emission_blurring_pathtermination_ao(KernelGlobals *kg, ccl_local_param BackgroundAOLocals *locals)
ccl_device_forceinline bool kernel_path_shader_apply(KernelGlobals *kg, ShaderData *sd, ccl_addr_space PathState *state, ccl_addr_space Ray *ray, float3 throughput, ShaderData *emission_sd, PathRadiance *L, ccl_global float *buffer)
ccl_device_inline float path_state_continuation_probability(KernelGlobals *kg, ccl_addr_space PathState *state, const float3 throughput)
ccl_device int get_ray_index(KernelGlobals *kg, int thread_index, int queue_number, ccl_global int *queues, int queuesize, int empty_queue)
ccl_device void enqueue_ray_index_local(int ray_index, int queue_number, char enqueue_flag, int queuesize, ccl_local_param unsigned int *local_queue_atomics, ccl_global int *Queue_data, ccl_global int *Queue_index)
ccl_device_inline float path_state_rng_1D(KernelGlobals *kg, const ccl_addr_space PathState *state, int dimension)
CCL_NAMESPACE_BEGIN ccl_device_inline void kernel_split_path_end(KernelGlobals *kg, int ray_index)
#define kernel_split_params
#define kernel_split_sd(sd, ray_index)
#define kernel_split_state
__kernel void ccl_constant KernelData ccl_global void ccl_global char ccl_global int ccl_global char ccl_global unsigned int ccl_global float * buffer
__kernel void ccl_constant KernelData ccl_global void ccl_global char * ray_state
#define AS_SHADER_DATA(shader_data_tiny_storage)
#define IS_STATE(ray_state, ray_index, state)
@ QUEUE_SHADOW_RAY_CAST_AO_RAYS
@ QUEUE_ACTIVE_AND_REGENERATED_RAYS
#define CCL_LOCAL_MEM_FENCE
#define ccl_barrier(flags)