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

SIMD Colour multiplication #5251

Merged
merged 7 commits into from
Jun 22, 2024
Merged

Conversation

ElectroJr
Copy link
Contributor

@ElectroJr ElectroJr commented Jun 18, 2024

This PR changes colour multiplication & interpolation so that they just use System.Numerics.Vector4. I ran the content colour interpolation benchmarks, and they are unchanged, while a similar benchmark for multiplication is ~3 times faster.

@ElectroJr ElectroJr requested a review from PJB3005 June 19, 2024 03:00
Robust.Shared.Maths/Color.cs Outdated Show resolved Hide resolved
Robust.Shared.Maths/Color.cs Outdated Show resolved Hide resolved
@PJB3005 PJB3005 merged commit e2cf4ee into space-wizards:master Jun 22, 2024
3 checks 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.

None yet

2 participants