diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-30 01:10:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-30 02:15:17 +0300 |
commit | 76471dbd5e2efbbc3a4d4b3a1a26fe0649f31cff (patch) | |
tree | 1c90a473a0c9dbd5e5180ca5e632288215ce699b /intern/cycles | |
parent | 4e45265dc6cafe0bf6f36a14a469288183059858 (diff) |
Cleanup: capitalize NOTE tag
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/device/memory.h | 2 | ||||
-rw-r--r-- | intern/cycles/graph/node.h | 2 | ||||
-rw-r--r-- | intern/cycles/kernel/light/common.h | 2 | ||||
-rw-r--r-- | intern/cycles/scene/shader_nodes.cpp | 6 | ||||
-rw-r--r-- | intern/cycles/util/math_matrix.h | 2 | ||||
-rw-r--r-- | intern/cycles/util/transform.h | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/intern/cycles/device/memory.h b/intern/cycles/device/memory.h index cb22c191656..d3ebebb34b4 100644 --- a/intern/cycles/device/memory.h +++ b/intern/cycles/device/memory.h @@ -581,7 +581,7 @@ template<typename T> class device_vector : public device_memory { * from an already allocated base memory. It is freed automatically when it * goes out of scope, which should happen before base memory is freed. * - * Note: some devices require offset and size of the sub_ptr to be properly + * NOTE: some devices require offset and size of the sub_ptr to be properly * aligned to device->mem_address_alingment(). */ class device_sub_ptr { diff --git a/intern/cycles/graph/node.h b/intern/cycles/graph/node.h index a00162a3b9a..8b505c0eb9e 100644 --- a/intern/cycles/graph/node.h +++ b/intern/cycles/graph/node.h @@ -31,7 +31,7 @@ struct Node; struct NodeType; struct Transform; -/* Note: in the following macros we use "type const &" instead of "const type &" +/* NOTE: in the following macros we use "type const &" instead of "const type &" * to avoid issues when pasting a pointer type. */ #define NODE_SOCKET_API_BASE_METHODS(type_, name, string_name) \ const SocketType *get_##name##_socket() const \ diff --git a/intern/cycles/kernel/light/common.h b/intern/cycles/kernel/light/common.h index 75331d32d44..07f59ae48c2 100644 --- a/intern/cycles/kernel/light/common.h +++ b/intern/cycles/kernel/light/common.h @@ -29,7 +29,7 @@ CCL_NAMESPACE_BEGIN * * https://www.solidangle.com/research/egsr2013_spherical_rectangle.pdf * - * Note: light_p is modified when sample_coord is true. + * NOTE: light_p is modified when sample_coord is true. */ ccl_device_inline float rect_light_sample(float3 P, ccl_private float3 *light_p, diff --git a/intern/cycles/scene/shader_nodes.cpp b/intern/cycles/scene/shader_nodes.cpp index 8c20807a52b..0ffeddc9f13 100644 --- a/intern/cycles/scene/shader_nodes.cpp +++ b/intern/cycles/scene/shader_nodes.cpp @@ -2399,7 +2399,7 @@ void GlossyBsdfNode::simplify_settings(Scene *scene) ShaderInput *roughness_input = input("Roughness"); if (integrator->get_filter_glossy() == 0.0f) { /* Fallback to Sharp closure for Roughness close to 0. - * Note: Keep the epsilon in sync with kernel! + * NOTE: Keep the epsilon in sync with kernel! */ if (!roughness_input->link && roughness <= 1e-4f) { VLOG(3) << "Using sharp glossy BSDF."; @@ -2492,7 +2492,7 @@ void GlassBsdfNode::simplify_settings(Scene *scene) ShaderInput *roughness_input = input("Roughness"); if (integrator->get_filter_glossy() == 0.0f) { /* Fallback to Sharp closure for Roughness close to 0. - * Note: Keep the epsilon in sync with kernel! + * NOTE: Keep the epsilon in sync with kernel! */ if (!roughness_input->link && roughness <= 1e-4f) { VLOG(3) << "Using sharp glass BSDF."; @@ -2585,7 +2585,7 @@ void RefractionBsdfNode::simplify_settings(Scene *scene) ShaderInput *roughness_input = input("Roughness"); if (integrator->get_filter_glossy() == 0.0f) { /* Fallback to Sharp closure for Roughness close to 0. - * Note: Keep the epsilon in sync with kernel! + * NOTE: Keep the epsilon in sync with kernel! */ if (!roughness_input->link && roughness <= 1e-4f) { VLOG(3) << "Using sharp refraction BSDF."; diff --git a/intern/cycles/util/math_matrix.h b/intern/cycles/util/math_matrix.h index c1be71517e3..846b028a513 100644 --- a/intern/cycles/util/math_matrix.h +++ b/intern/cycles/util/math_matrix.h @@ -116,7 +116,7 @@ ccl_device_inline void math_vec3_add_strided( } /* Elementary matrix operations. - * Note: TriMatrix refers to a square matrix that is symmetric, + * NOTE: TriMatrix refers to a square matrix that is symmetric, * and therefore its upper-triangular part isn't stored. */ ccl_device_inline void math_trimatrix_add_diagonal(ccl_global float *A, diff --git a/intern/cycles/util/transform.h b/intern/cycles/util/transform.h index 80cd37d35e2..84827cf6ba5 100644 --- a/intern/cycles/util/transform.h +++ b/intern/cycles/util/transform.h @@ -370,7 +370,7 @@ ccl_device_inline float4 quat_interpolate(float4 q1, float4 q2, float t) #if defined(__KERNEL_GPU_RAYTRACING__) return normalize((1.0f - t) * q1 + t * q2); #else /* defined(__KERNEL_GPU_RAYTRACING__) */ - /* note: this does not ensure rotation around shortest angle, q1 and q2 + /* NOTE: this does not ensure rotation around shortest angle, q1 and q2 * are assumed to be matched already in transform_motion_decompose */ float costheta = dot(q1, q2); |