mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
glsl: Fix typos
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33556>
This commit is contained in:
parent
ec9c7a1ef8
commit
a9139e0f97
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -403,7 +403,7 @@ PATH ["][]^./ _A-Za-z0-9+*%[(){}|&~=!:;,?-]*["]
|
|||
* for the lexer. Within <DEFINE> 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 <DEFINE> state we also need to explicitly
|
||||
* handle a few other things that may appear before the
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue