Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/integrator/path_state.h
| Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | #endif | ||||
| } | } | ||||
| #ifdef __DENOISING_FEATURES__ | #ifdef __DENOISING_FEATURES__ | ||||
| if (kernel_data.kernel_features & KERNEL_FEATURE_DENOISING) { | if (kernel_data.kernel_features & KERNEL_FEATURE_DENOISING) { | ||||
| INTEGRATOR_STATE_WRITE(state, path, flag) |= PATH_RAY_DENOISING_FEATURES; | INTEGRATOR_STATE_WRITE(state, path, flag) |= PATH_RAY_DENOISING_FEATURES; | ||||
| INTEGRATOR_STATE_WRITE(state, path, denoising_feature_throughput) = one_spectrum(); | INTEGRATOR_STATE_WRITE(state, path, denoising_feature_throughput) = one_spectrum(); | ||||
| } | } | ||||
| #endif | #endif | ||||
| INTEGRATOR_STATE_WRITE(state, path, lpe_state) = 0; | |||||
| } | } | ||||
| ccl_device_inline void path_state_next(KernelGlobals kg, IntegratorState state, int label) | ccl_device_inline void path_state_next(KernelGlobals kg, IntegratorState state, int label) | ||||
| { | { | ||||
| uint32_t flag = INTEGRATOR_STATE(state, path, flag); | uint32_t flag = INTEGRATOR_STATE(state, path, flag); | ||||
| /* ray through transparent keeps same flags from previous ray and is | /* ray through transparent keeps same flags from previous ray and is | ||||
| * not counted as a regular bounce, transparent has separate max */ | * not counted as a regular bounce, transparent has separate max */ | ||||
| ▲ Show 20 Lines • Show All 264 Lines • Show Last 20 Lines | |||||