Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-02-07 07:33:10 +0300
committerCampbell Barton <campbell@blender.org>2022-02-07 07:33:10 +0300
commit2b14aa0a3930c1fc383b845b1eaab613a10a76ea (patch)
tree445c259757bfba59493651425243ad2b39105225 /source/blender/gpu/intern
parent7e6066c9c3a883dcef64fb675c0eb3cf10423a91 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_shader_create_info.hh2
-rw-r--r--source/blender/gpu/intern/gpu_shader_log.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh
index ee5a79220b9..dafa741977c 100644
--- a/source/blender/gpu/intern/gpu_shader_create_info.hh
+++ b/source/blender/gpu/intern/gpu_shader_create_info.hh
@@ -130,7 +130,7 @@ enum class BuiltinBits {
GLOBAL_INVOCATION_ID = (1 << 5),
INSTANCE_ID = (1 << 6),
/**
- * Allow setting the target layer when the output is a layered framebuffer.
+ * Allow setting the target layer when the output is a layered frame-buffer.
* \note Emulated through geometry shader on older hardware.
*/
LAYER = (1 << 7),
diff --git a/source/blender/gpu/intern/gpu_shader_log.cc b/source/blender/gpu/intern/gpu_shader_log.cc
index d20e49d3085..c879e912c5d 100644
--- a/source/blender/gpu/intern/gpu_shader_log.cc
+++ b/source/blender/gpu/intern/gpu_shader_log.cc
@@ -214,7 +214,7 @@ void Shader::print_log(Span<const char *> sources,
if (source_index > 0) {
row_in_file -= sources_end_line[source_index - 1];
}
- /* Print the filename the error line is comming from. */
+ /* Print the filename the error line is coming from. */
if (source_index > 0) {
StringRefNull filename = shader::gpu_shader_dependency_get_filename_from_source_string(
sources[source_index]);