Is it possible to use Vec<u64> inside the shader by mapping it to array<vec2u>? #7128
-
What I've been doing so far was to use
I would think if the sizes are exact, then this would be possible, but are the numbers equivalent byte-wise? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yup, that will work exactly as you'd expect. vec2 is align 8, size 8; just like u64. |
Beta Was this translation helpful? Give feedback.
Yup, that will work exactly as you'd expect. vec2 is align 8, size 8; just like u64.