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 */