Skip to content

Is it possible to use Vec<u64> inside the shader by mapping it to array<vec2u>? #7128

Answered by cwfitzgerald
davids91 asked this question in Q&A
Discussion options

You must be logged in to vote

Yup, that will work exactly as you'd expect. vec2 is align 8, size 8; just like u64.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davids91
Comment options

Answer selected by davids91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants