mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 10:21:36 -04:00
[graphics] tie generic (#1341)
* [gtie] tie inst and proto functions * first chain input to generic ee looks good * m * works * ugh * add tie generic * rm debug print * rm generic ties from fr3
This commit is contained in:
@@ -528,6 +528,14 @@ struct alignas(16) Accumulator {
|
||||
}
|
||||
}
|
||||
|
||||
void msuba(Mask mask, const Vf& a, float b) {
|
||||
for (int i = 0; i < 4; i++) {
|
||||
if ((u64)mask & (1 << i)) {
|
||||
data[i] -= a[i] * b;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
u16 madd_flag(Mask mask, Vf& dest, const Vf& a, float b) {
|
||||
u16 result = 0;
|
||||
for (int i = 0; i < 4; i++) {
|
||||
|
||||
Reference in New Issue
Block a user