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

Add spirv module #142

Merged
merged 2 commits into from
Mar 17, 2021
Merged

Conversation

XAMPPRocky
Copy link
Contributor

This PR adds a spirv module responsible for the integration between glam and SPIR-V targets, and also adds dependencies on spirv-std and moves the trait implementations previously contained in spirv-std into glam. This is part of a series changes to allow spirv-std to be compatible with multiple vector libraries, and to allow libraries like glam to be able to take advantage of intrinsics provided by spirv-std such as using vector operations for add, multiply, etc.

This PR is currently blocked on EmbarkStudios/rust-gpu#476 landing so that we can publish a version of spirv-std with those changes and prevent cyclic dependencies issues.

src/vec3.rs Outdated Show resolved Hide resolved
@XAMPPRocky XAMPPRocky force-pushed the spirv-std-impl branch 5 times, most recently from af4010b to a83fae3 Compare March 17, 2021 07:06
@XAMPPRocky XAMPPRocky marked this pull request as ready for review March 17, 2021 07:22
@bitshifter bitshifter merged commit fa65f74 into bitshifter:master Mar 17, 2021
@khyperia khyperia deleted the spirv-std-impl branch June 1, 2021 10:07
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