mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 18:52:28 +00:00
[qfcc] Auto-demote double for vector scaling
This was missed in the switch to an explicit scale instruction.
This commit is contained in:
parent
5f6e0767d7
commit
afe8c8fca5
1 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ static expr_type_t vector_vector[] = {
|
|||
#define vector_short vector_float
|
||||
|
||||
static expr_type_t vector_double[] = {
|
||||
{'*', &type_vector},
|
||||
{'*', &type_vector, 0, &type_float, vector_scale},
|
||||
{'/', 0, 0, 0, inverse_multiply},
|
||||
{0, 0}
|
||||
};
|
||||
|
@ -488,7 +488,7 @@ static expr_type_t double_float[] = {
|
|||
};
|
||||
|
||||
static expr_type_t double_vector[] = {
|
||||
{'*', &type_vector},
|
||||
{'*', &type_vector, &type_float, 0, vector_scale},
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue