Mesa (master): glsl: Fix typos in comments.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Dec 16 02:37:03 UTC 2020
Module: Mesa
Branch: master
Commit: 836b9e1d8831eb9ec3b1652bc041d70e1e0db71a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=836b9e1d8831eb9ec3b1652bc041d70e1e0db71a
Author: Vinson Lee <vlee at freedesktop.org>
Date: Tue Nov 24 18:59:03 2020 -0800
glsl: Fix typos in comments.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7767>
---
src/compiler/glsl_types.cpp | 2 +-
src/compiler/glsl_types.h | 2 +-
src/compiler/shader_info.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/compiler/glsl_types.cpp b/src/compiler/glsl_types.cpp
index 5f2efcd8d68..f5cc1742c17 100644
--- a/src/compiler/glsl_types.cpp
+++ b/src/compiler/glsl_types.cpp
@@ -38,7 +38,7 @@ hash_table *glsl_type::function_types = NULL;
hash_table *glsl_type::subroutine_types = NULL;
/* There might be multiple users for types (e.g. application using OpenGL
- * and Vulkan simultanously or app using multiple Vulkan instances). Counter
+ * and Vulkan simultaneously or app using multiple Vulkan instances). Counter
* is used to make sure we don't release the types if a user is still present.
*/
static uint32_t glsl_type_users = 0;
diff --git a/src/compiler/glsl_types.h b/src/compiler/glsl_types.h
index d8352e87050..d1d525030bd 100644
--- a/src/compiler/glsl_types.h
+++ b/src/compiler/glsl_types.h
@@ -638,7 +638,7 @@ public:
* possible following the alignment required by the size/align func.
*
* - All composite types (structures, matrices, and arrays) have an
- * alignment equal to the highest alighment of any member of the composite.
+ * alignment equal to the highest alignment of any member of the composite.
*
* The types returned by this function are likely not suitable for most UBO
* or SSBO layout because they do not add the extra array and substructure
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index bc3d45b06db..5ff554d693a 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -251,7 +251,7 @@ typedef struct shader_info {
/** 1 .. MAX_GEOMETRY_SHADER_INVOCATIONS */
uint8_t invocations;
- /** The number of vertices recieves per input primitive (max. 6) */
+ /** The number of vertices received per input primitive (max. 6) */
uint8_t vertices_in:3;
/** Whether or not this shader uses EndPrimitive */
More information about the mesa-commit
mailing list