unhelpful error in array use #2327
-
im a beginner in wgpu, so apologies if i should have posted this the wgpu repo so, i was creating a mandelbrot viewer but got stopped by this error:
the shader code:
i could not even understand what it means, let alone fix it :< |
Beta Was this translation helpful? Give feedback.
Answered by
cwfitzgerald
May 7, 2023
Replies: 1 comment 2 replies
-
The issue is that you can't pass arrays (or matrixes) in/out of a shader as vertex attributes. Additionally, even if this is valid, you generally only have 64 or so vertex attributes. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
pro465
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue is that you can't pass arrays (or matrixes) in/out of a shader as vertex attributes. Additionally, even if this is valid, you generally only have 64 or so vertex attributes.