diff options
author | Campbell Barton <campbell@blender.org> | 2022-07-21 06:21:53 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-07-21 06:21:53 +0300 |
commit | 46a2592eef90782bea6124767c072f275330bd00 (patch) | |
tree | 4c92bcf6338b21e5e058989b536a5e28dda0aea3 /intern | |
parent | e75adb979b0acefbf5f01b83f4139d6a43163b92 (diff) |
Cleanup: spelling in comments, typos in tool-tips
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/bvh/util.h | 2 | ||||
-rw-r--r-- | intern/cycles/kernel/data_template.h | 2 | ||||
-rw-r--r-- | intern/cycles/kernel/types.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/kernel/bvh/util.h b/intern/cycles/kernel/bvh/util.h index 1795ae4c790..385e904d20f 100644 --- a/intern/cycles/kernel/bvh/util.h +++ b/intern/cycles/kernel/bvh/util.h @@ -11,7 +11,7 @@ CCL_NAMESPACE_BEGIN * intersection we'll be comparing against the exact same distances. */ ccl_device_forceinline float intersection_t_offset(const float t) { - /* This is a simplified version of nextafterf(t, FLT_MAX), only dealing with + /* This is a simplified version of `nextafterf(t, FLT_MAX)`, only dealing with * non-negative and finite t. */ kernel_assert(t >= 0.0f && isfinite_safe(t)); const uint32_t bits = (t == 0.0f) ? 1 : __float_as_uint(t) + 1; diff --git a/intern/cycles/kernel/data_template.h b/intern/cycles/kernel/data_template.h index b06ac62a5d8..807d0650fc3 100644 --- a/intern/cycles/kernel/data_template.h +++ b/intern/cycles/kernel/data_template.h @@ -70,7 +70,7 @@ KERNEL_STRUCT_MEMBER(film, float4, rec709_to_r) KERNEL_STRUCT_MEMBER(film, float4, rec709_to_g) KERNEL_STRUCT_MEMBER(film, float4, rec709_to_b) KERNEL_STRUCT_MEMBER(film, int, is_rec709) -/* Exposuse. */ +/* Exposure. */ KERNEL_STRUCT_MEMBER(film, float, exposure) /* Passed used. */ KERNEL_STRUCT_MEMBER(film, int, pass_flag) diff --git a/intern/cycles/kernel/types.h b/intern/cycles/kernel/types.h index 05320deed19..4f4b811a8e7 100644 --- a/intern/cycles/kernel/types.h +++ b/intern/cycles/kernel/types.h @@ -1168,7 +1168,7 @@ typedef struct KernelData { uint max_shaders; uint volume_stack_size; - /* Always dynamic data mambers. */ + /* Always dynamic data members. */ KernelCamera cam; KernelBake bake; KernelTables tables; |