diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-10 05:47:12 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-10 05:47:12 +0300 |
commit | 74c896c0819bd95004b0b11925d51586570f980f (patch) | |
tree | 33a86b782f1a01eae342ac0145753912c0bcf114 /intern/cycles/kernel | |
parent | c04d36e9220d21b4e814df35769def0361eda72e (diff) |
Cleanup: typos in comments, remove libnumaapi reference
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/svm/magic.h | 2 | ||||
-rw-r--r-- | intern/cycles/kernel/svm/types.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/svm/magic.h b/intern/cycles/kernel/svm/magic.h index 715a47d88cf..cdd73a7829a 100644 --- a/intern/cycles/kernel/svm/magic.h +++ b/intern/cycles/kernel/svm/magic.h @@ -25,7 +25,7 @@ ccl_device_noinline_cpu float3 svm_magic(float3 p, float scale, int n, float dis /* * Prevent NaNs due to input p * Sin and Cosine are periodic about [0 2*PI) so the following - * will yeild a more accurate result. As it stops the input values + * will yield a more accurate result. As it stops the input values * going out of range for floats which caused a NaN. The * calculation of (px + py + pz)*5 can cause an Inf when one or more * values are very large the cos or sin of this results in a NaN diff --git a/intern/cycles/kernel/svm/types.h b/intern/cycles/kernel/svm/types.h index 384549b7f09..dd1b1f9bc28 100644 --- a/intern/cycles/kernel/svm/types.h +++ b/intern/cycles/kernel/svm/types.h @@ -124,7 +124,7 @@ typedef enum ShaderNodeType { NODE_AOV_VALUE, NODE_FLOAT_CURVE, /* NOTE: for best OpenCL performance, item definition in the enum must - * match the switch case order in svm.h. */ + * match the switch case order in `svm.h`. */ } ShaderNodeType; typedef enum NodeAttributeOutputType { |