diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp index 50aab2487fa..263d05267e6 100644 --- a/src/compiler/glsl/ast_to_hir.cpp +++ b/src/compiler/glsl/ast_to_hir.cpp @@ -391,7 +391,7 @@ arithmetic_result_type(ir_rvalue * &value_a, ir_rvalue * &value_b, /* "If the operands are integer types, they must both be signed or * both be unsigned." * - * From this rule and the preceeding conversion it can be inferred that + * From this rule and the preceding conversion it can be inferred that * both types must be GLSL_TYPE_FLOAT, or GLSL_TYPE_UINT, or GLSL_TYPE_INT. * The is_numeric check above already filtered out the case where either * type is not one of these, so now the base types need only be tested for diff --git a/src/compiler/glsl/glcpp/glcpp-lex.l b/src/compiler/glsl/glcpp/glcpp-lex.l index 9f103e5e2be..63b539b4bd3 100644 --- a/src/compiler/glsl/glcpp/glcpp-lex.l +++ b/src/compiler/glsl/glcpp/glcpp-lex.l @@ -403,7 +403,7 @@ PATH ["][]^./ _A-Za-z0-9+*%[(){}|&~=!:;,?-]*["] * for the lexer. Within we are looking for the first * identifier and specifically checking whether the identifier * is followed by a '(' or not, (to lex either a - * FUNC_IDENTIFIER or an OBJ_IDENITIFIER token). + * FUNC_IDENTIFIER or an OBJ_IDENTIFIER token). * * While in the state we also need to explicitly * handle a few other things that may appear before the diff --git a/src/compiler/glsl/glcpp/glcpp-parse.y b/src/compiler/glsl/glcpp/glcpp-parse.y index 31bfd363f75..b3c16f18332 100644 --- a/src/compiler/glsl/glcpp/glcpp-parse.y +++ b/src/compiler/glsl/glcpp/glcpp-parse.y @@ -1559,7 +1559,7 @@ typedef enum function_status * balanced set of parentheses. * * When called, 'node' should be the opening-parenthesis token, (or - * perhaps preceeding SPACE tokens). Upon successful return *last will + * perhaps preceding SPACE tokens). Upon successful return *last will * be the last consumed node, (corresponding to the closing right * parenthesis). *