-
|
I'm trying to declare a constant value in a shader for the max size of several arrays, but get the following error: This is the abridged shader code that generates the error and attempted usage: Am I missing something simple or is |
Beta Was this translation helpful? Give feedback.
Answered by
teoxoy
Dec 13, 2022
Replies: 1 comment 3 replies
-
|
Use |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
junglie85
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
let. Rename toconstwill land as part of gfx-rs/naga#2075.