mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 05:01:24 +00:00
[qfcc] Promote types for bitops
Bitops are allowed for float operands in quakec and ruamoko (not glsl, but meh for now). Fixes another ice in game-source/quake.
This commit is contained in:
parent
92727019b5
commit
1950c03195
1 changed files with 2 additions and 1 deletions
|
@ -626,7 +626,8 @@ static expr_type_t mod_ops[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static expr_type_t bit_ops[] = {
|
static expr_type_t bit_ops[] = {
|
||||||
{ .match_a = is_math, .match_b = is_math, },
|
{ .match_a = is_math, .match_b = is_math,
|
||||||
|
.promote = true },
|
||||||
|
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue