Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gu: add a function to multiply 4x4 matrices #172

Merged
merged 1 commit into from
May 3, 2024

Conversation

mardy
Copy link
Contributor

@mardy mardy commented May 2, 2024

Add guMtx44Concat() in both C and PS variants. The PS variant is more than 3 times faster that the C one; it's written in a separate file (and not in gu_psasm.S) because it uses a different naming of the matrix registers.

These functions are especially useful when porting programs written for OpenGL, which uses 4x4 matrices.

Add guMtx44Concat() in both C and PS variants. The PS variant is more
than 3 times faster that the C one; it's written in a separate file (and
not in gu_psasm.S) because it uses a different naming of the matrix
registers.

These functions are especially useful when porting programs written for
OpenGL, which uses 4x4 matrices.
@mardy
Copy link
Contributor Author

mardy commented May 2, 2024

Tested and benchmarked with https://gitlab.com/mardy/benchmark-wii

@DacoTaco DacoTaco merged commit 0ea7278 into devkitPro:master May 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants