From 74c896c0819bd95004b0b11925d51586570f980f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 10 Jan 2022 13:47:12 +1100 Subject: Cleanup: typos in comments, remove libnumaapi reference --- intern/cycles/kernel/svm/magic.h | 2 +- intern/cycles/kernel/svm/types.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/cycles/kernel/svm') 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 { -- cgit v1.2.3