diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-06-12 02:04:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-06-12 02:43:49 +0300 |
commit | 6529d20d79a5e55696a2fa48150055d3e4a942dd (patch) | |
tree | 314f21fd4c91f8a5558cfe34e04f6ce1e50d3c98 /intern/cycles/kernel/kernel_passes.h | |
parent | 8ce93ef6ae5169297aca67f5439503c3b25dc707 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'intern/cycles/kernel/kernel_passes.h')
-rw-r--r-- | intern/cycles/kernel/kernel_passes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_passes.h b/intern/cycles/kernel/kernel_passes.h index 462ec037ee7..e84937e2fd9 100644 --- a/intern/cycles/kernel/kernel_passes.h +++ b/intern/cycles/kernel/kernel_passes.h @@ -71,8 +71,9 @@ ccl_device_inline void kernel_write_pass_float_variance(ccl_global float *buffer { kernel_write_pass_float(buffer, value); - /* The online one-pass variance update that's used for the megakernel can't easily be implemented - * with atomics, so for the split kernel the E[x^2] - 1/N * (E[x])^2 fallback is used. */ + /* The online one-pass variance update that's used for the mega-kernel can't easily be + * implemented with atomics, + * so for the split kernel the E[x^2] - 1/N * (E[x])^2 fallback is used. */ kernel_write_pass_float(buffer + 1, value * value); } |