glsl: Fix copy and paste error in ast_bit_and node creation.
All & operations were incorrectly being generated as ast_bit_or.
This commit is contained in:
parent
4af2937416
commit
0eb0b44647
|
@ -561,7 +561,7 @@ and_expression:
|
|||
| and_expression '&' equality_expression
|
||||
{
|
||||
void *ctx = state;
|
||||
$$ = new(ctx) ast_expression_bin(ast_bit_or, $1, $3);
|
||||
$$ = new(ctx) ast_expression_bin(ast_bit_and, $1, $3);
|
||||
$$->set_location(yylloc);
|
||||
}
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue