glsl: Fix typos in comments.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7767>
This commit is contained in:
Vinson Lee
2020-11-24 18:59:03 -08:00
committed by Marge Bot
parent 001411774d
commit 836b9e1d88
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 */