diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-06 09:25:20 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-06 09:25:20 +0300 |
commit | 6c6a53fad357ad63d8128c33da7a84f172ef0b63 (patch) | |
tree | 0ab3290bbc010af86719bec5a7bd37de75997d37 /intern/cycles/kernel | |
parent | 077ba5ac386f3cc75a67e01cdd75239b76c34de5 (diff) |
Cleanup: spelling in comments, formatting, move comments into headers
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/bvh/bvh.h | 2 | ||||
-rw-r--r-- | intern/cycles/kernel/device/oneapi/kernel_templates.h | 2 | ||||
-rw-r--r-- | intern/cycles/kernel/types.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/kernel/bvh/bvh.h b/intern/cycles/kernel/bvh/bvh.h index 5e3f8d839e9..29789a15b28 100644 --- a/intern/cycles/kernel/bvh/bvh.h +++ b/intern/cycles/kernel/bvh/bvh.h @@ -29,7 +29,7 @@ CCL_NAMESPACE_BEGIN * * Bounding volume hierarchy for ray tracing, when no native acceleration * structure is available for the device. - + * * We compile different variations of the same BVH traversal function for * faster rendering when some types of primitives are not needed, using #includes * to work around the lack of C++ templates in OpenCL. diff --git a/intern/cycles/kernel/device/oneapi/kernel_templates.h b/intern/cycles/kernel/device/oneapi/kernel_templates.h index d8964d9b672..0ae925cf748 100644 --- a/intern/cycles/kernel/device/oneapi/kernel_templates.h +++ b/intern/cycles/kernel/device/oneapi/kernel_templates.h @@ -80,7 +80,7 @@ void oneapi_call( (x, ##__VA_ARGS__) /* This template automatically casts entries in the void **args array to the types requested by the kernel func. - Since kernel parameters are passed as void ** to the device, this is the closest that we have to type safety. */ + * Since kernel parameters are passed as void ** to the device, this is the closest that we have to type safety. */ #define oneapi_template(...) \ template<ONEAPI_CALL_FOR(ONEAPI_TYP, __VA_ARGS__)> \ void oneapi_call( \ diff --git a/intern/cycles/kernel/types.h b/intern/cycles/kernel/types.h index 33a27ad3677..873d594f1f8 100644 --- a/intern/cycles/kernel/types.h +++ b/intern/cycles/kernel/types.h @@ -164,7 +164,7 @@ enum PathTraceDimension { PRNG_SUBSURFACE_DISK = 0, PRNG_SUBSURFACE_DISK_RESAMPLE = 1, - /* High enough number so we don't need to change it when adding new dimenions, + /* High enough number so we don't need to change it when adding new dimensions, * low enough so there is no uint16_t overflow with many bounces. */ PRNG_BOUNCE_NUM = 16, }; @@ -1359,7 +1359,7 @@ static_assert_align(KernelShaderEvalInput, 16); /* Pre-computed sample table sizes for PMJ02 sampler. * - * Note: divisions *must* be a power of two, and patterns + * NOTE: divisions *must* be a power of two, and patterns * ideally should be as well. */ #define NUM_PMJ_DIVISIONS 32 |