Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Jul 6, 2020
2 parents 10ce911 + 21df27a commit c1c1dae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,8 @@ static void VU0MixVec(VU_VECTOR *a, VU_VECTOR *b, float mix, VU_VECTOR *res)
"vmaddx.xyzw vf1, vf2, vf4x\n" // multiply vf2 by vf4.x add ACC, store the result in vf1
"sqc2 vf1, (%[res])\n" // transfer the result in acc to the ee
#endif
: [res] "+r"(res)
: [a] "r"(a), [b] "r"(b), [mix] "r"(mix)
: "memory");
: [res] "+r"(res), "=m"(*res)
: [a] "r"(a), [b] "r"(b), [mix] "r"(mix), "m"(*a), "m"(*b));
}

static float guiCalcPerlin(float x, float y, float z)
Expand Down

0 comments on commit c1c1dae

Please sign in to comment.