[cexpr] Support casts from plist to vector

This makes specifying colors in the vulkan parser a lot easier.
This commit is contained in:
Bill Currie 2023-02-11 01:11:45 +09:00
parent 9706d2d9ce
commit cb99c4d907
1 changed files with 1 additions and 0 deletions

View File

@ -582,6 +582,7 @@ binop_t vector_binops[] = {
{ '%', &cexpr_vector, &cexpr_vector, vector_rem },
{ MOD, &cexpr_vector, &cexpr_vector, vector_mod },
{ '.', &cexpr_field, &cexpr_exprval, vector_swizzle },
{ '=', &cexpr_plitem, &cexpr_vector, cexpr_cast_plitem },
{}
};