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

Replace GLM_INLINE with GLM_FUNC_QUALIFIER in vec_swizzle.hpp #1110

Conversation

tomix1024
Copy link

When using a CUDA compiler, I cannot call the swizzling functions like glm::xxyy() from device code.
They are currently only declared as GLM_INLINE. Using GLM_FUNC_QUALIFIER additionally specifies the __host__ and __device__ attributes when appropriate.

@christophe-lunarg
Copy link

This issue is resolved by #1173
It's a different PR, only to run the tests using Github actions. Thanks for contributing!

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