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:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user