mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[cexpr] Support casts from plist to vector
This makes specifying colors in the vulkan parser a lot easier.
This commit is contained in:
parent
9706d2d9ce
commit
cb99c4d907
1 changed files with 1 additions and 0 deletions
|
@ -582,6 +582,7 @@ binop_t vector_binops[] = {
|
||||||
{ '%', &cexpr_vector, &cexpr_vector, vector_rem },
|
{ '%', &cexpr_vector, &cexpr_vector, vector_rem },
|
||||||
{ MOD, &cexpr_vector, &cexpr_vector, vector_mod },
|
{ MOD, &cexpr_vector, &cexpr_vector, vector_mod },
|
||||||
{ '.', &cexpr_field, &cexpr_exprval, vector_swizzle },
|
{ '.', &cexpr_field, &cexpr_exprval, vector_swizzle },
|
||||||
|
{ '=', &cexpr_plitem, &cexpr_vector, cexpr_cast_plitem },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue