Cleanup: spelling in comments

This commit is contained in:
Campbell Barton
2023-08-23 13:30:55 +10:00
parent 6e20beba22
commit f66fa32ada
7 changed files with 8 additions and 7 deletions

View File

@@ -812,12 +812,12 @@ void OneapiDevice::get_adjusted_global_and_local_sizes(SyclQueue *queue,
}
/* Such order of logic allow us to override Blender default values, if needed,
* yet respect them overwise. */
* yet respect them otherwise. */
if (preferred_work_group_size == 0) {
preferred_work_group_size = oneapi_suggested_gpu_kernel_size((::DeviceKernel)kernel);
}
/* If there is no recommendetion, then use manual default value. */
/* If there is no recommendation, then use manual default value. */
if (preferred_work_group_size == 0) {
preferred_work_group_size = preferred_work_group_size_default;
}

View File

@@ -5,7 +5,7 @@
#ifndef __SUBD_SPLIT_H__
#define __SUBD_SPLIT_H__
/* DiagSplit: Parallel, Crack-free, Adaptive Tessellation for Micropolygon Rendering
/* DiagSplit: Parallel, Crack-free, Adaptive Tessellation for Micro-polygon Rendering
* Splits up patches and determines edge tessellation factors for dicing. Patch
* evaluation at arbitrary points is required for this to work. See the paper
* for more details. */

View File

@@ -84,7 +84,7 @@ enum {
IDWALK_CB_INTERNAL = (1 << 9),
/**
* This ID usage should not be processed during readfile (neither during liblinking nor
* This ID usage should not be processed during readfile (neither during lib-linking nor
* expanding).
*
* Note that all embedded IDs pointers (#IDWALK_CB_EMBEDDED and #IDWALK_CB_EMBEDDED_NOT_OWNING)

View File

@@ -506,7 +506,7 @@ static void object_foreach_id(ID *id, LibraryForeachIDData *data)
BKE_LIB_FOREACHID_PROCESS_IDSUPER(data, object->proxy, IDWALK_CB_NOP);
BKE_LIB_FOREACHID_PROCESS_IDSUPER(data, object->proxy_group, IDWALK_CB_NOP);
/* Note that `proxy_from` is purposedly skipped here, as this should be considered as pure
/* Note that `proxy_from` is purposefully skipped here, as this should be considered as pure
* runtime data. */
PartEff *paf = BKE_object_do_version_give_parteff_245(object);

View File

@@ -9,7 +9,7 @@
* Cineon and DPX common structures.
*
* This header file contains private details.
* User code should generally use cineonlib.h and dpxlib.h only.
* User code should generally use `cineonlib.h` and `dpxlib.h` only.
* Hmm. I thought the two formats would have more in common!
*/

View File

@@ -95,7 +95,7 @@ typedef struct Camera {
char panorama_type;
char _pad[2];
/** Fisheye properties. */
/* Fish-eye properties. */
float fisheye_fov;
float fisheye_lens;
float latitude_min, latitude_max;

View File

@@ -257,6 +257,7 @@ dict_custom = {
"procedurally",
"profiler",
"programmatically",
"projective",
"purgeability",
"quadratically",
"queryable",