diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-28 02:41:31 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-28 02:41:31 +0300 |
commit | 6d1d1bf2b12092e9f6c435c38e1bb84f3798ac5a (patch) | |
tree | 07b1b17059292fbdd7228ae5f4b3a46446bd40eb /intern/cycles/kernel/integrator/volume_shader.h | |
parent | 72a7f107d84293ceeef92e54362127446dddc9df (diff) |
Cleanup: spelling in comments
Also add missing task ID.
Diffstat (limited to 'intern/cycles/kernel/integrator/volume_shader.h')
-rw-r--r-- | intern/cycles/kernel/integrator/volume_shader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/integrator/volume_shader.h b/intern/cycles/kernel/integrator/volume_shader.h index d3cfa58db96..0ff968723a1 100644 --- a/intern/cycles/kernel/integrator/volume_shader.h +++ b/intern/cycles/kernel/integrator/volume_shader.h @@ -111,8 +111,8 @@ ccl_device_inline void volume_shader_prepare_guiding(KernelGlobals kg, const float volume_guiding_probability = kernel_data.integrator.volume_guiding_probability; float rand_phase_guiding = path_state_rng_1D(kg, rng_state, PRNG_VOLUME_PHASE_GUIDING); - /* If we have more than one ohase function we select one random based on its - * sample weight to caclulate the product distribution for guiding. */ + /* If we have more than one phase function we select one random based on its + * sample weight to calculate the product distribution for guiding. */ int phase_id = 0; float phase_weight = 1.0f; |