From f64695614939bd8b322013d1d5ae00ce1549ee83 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 23 Jun 2024 12:25:22 +1000 Subject: [PATCH] Cleanup: spelling in comments --- source/blender/gpu/opengl/gl_shader.hh | 2 +- source/blender/makesdna/intern/dna_genfile.cc | 2 +- tools/check_source/check_spelling_config.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/blender/gpu/opengl/gl_shader.hh b/source/blender/gpu/opengl/gl_shader.hh index 0e5f74f2b1c..5f93be4cd14 100644 --- a/source/blender/gpu/opengl/gl_shader.hh +++ b/source/blender/gpu/opengl/gl_shader.hh @@ -316,7 +316,7 @@ class GLShaderCompiler : public ShaderCompiler { SpecializationBatch current_specialization_batch; void prepare_next_specialization_batch(); - /* Shared accross regular and specialization batches, + /* Shared across regular and specialization batches, * to prevent the use of a wrong handle type. */ int64_t next_batch_handle = 1; diff --git a/source/blender/makesdna/intern/dna_genfile.cc b/source/blender/makesdna/intern/dna_genfile.cc index 5ddcdb7c571..d1ee7a6cb60 100644 --- a/source/blender/makesdna/intern/dna_genfile.cc +++ b/source/blender/makesdna/intern/dna_genfile.cc @@ -531,7 +531,7 @@ static bool init_structDNA(SDNA *sdna, bool do_endian_swap, const char **r_error } { uint dummy_index = 0; - /* TODO: This should be generalized at some point. We should be able to specify overaligned + /* TODO: This should be generalized at some point. We should be able to specify `overaligned` * types directly in the DNA struct definitions. */ sdna->types_alignment[DNA_struct_find_without_alias_ex(sdna, "mat4x4f", &dummy_index)] = alignof(blender::float4x4); diff --git a/tools/check_source/check_spelling_config.py b/tools/check_source/check_spelling_config.py index 763525ad3a4..1f0821c8841 100644 --- a/tools/check_source/check_spelling_config.py +++ b/tools/check_source/check_spelling_config.py @@ -390,6 +390,7 @@ dict_custom = { "symmetrize", "symmetrized", "targetless", + "tedrahedral", "teleporting", "templating", "tertiarily",