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-23 10:24:08 +0300
committerCampbell Barton <campbell@blender.org>2022-02-23 10:24:37 +0300
commit7393cc1db7abc8fd2c1c37dc13dfc1c85ccffbf6 (patch)
tree1af0fbf19384c1d987535c1e445ffebae5665093 /source/blender/gpu/intern
parent165b030b19718694eaf33d6602034ed88fdd31a1 (diff)
Cleanup: Remove repeated word in comments
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_shader_create_info.hh6
-rw-r--r--source/blender/gpu/intern/gpu_shader_dependency_private.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh
index bd0187e2dc5..e05dce57674 100644
--- a/source/blender/gpu/intern/gpu_shader_create_info.hh
+++ b/source/blender/gpu/intern/gpu_shader_create_info.hh
@@ -497,9 +497,9 @@ struct ShaderCreateInfo {
/**
* IMPORTANT: invocations count is only used if GL_ARB_gpu_shader5 is supported. On
- * implementations that do not supports it, the max_vertices will be be multiplied by
- * invocations. Your shader needs to account for this fact. Use `#ifdef GPU_ARB_gpu_shader5`
- * and make a code path that does not rely on gl_InvocationID.
+ * implementations that do not supports it, the max_vertices will be multiplied by invocations.
+ * Your shader needs to account for this fact. Use `#ifdef GPU_ARB_gpu_shader5` and make a code
+ * path that does not rely on #gl_InvocationID.
*/
Self &geometry_layout(PrimitiveIn prim_in,
PrimitiveOut prim_out,
diff --git a/source/blender/gpu/intern/gpu_shader_dependency_private.h b/source/blender/gpu/intern/gpu_shader_dependency_private.h
index 29ee70962d1..7b9ecef5835 100644
--- a/source/blender/gpu/intern/gpu_shader_dependency_private.h
+++ b/source/blender/gpu/intern/gpu_shader_dependency_private.h
@@ -38,7 +38,7 @@ StringRefNull gpu_shader_dependency_get_source(const StringRefNull source_name);
/**
* \brief Find the name of the file from which the given string was generated.
- * \return Return filename or empty string.
+ * \return filename or empty string.
* \note source_string needs to be identical to the one given by gpu_shader_dependency_get_source()
*/
StringRefNull gpu_shader_dependency_get_filename_from_source_string(