Program with shader crashes if shader modifies uniform vec4. Is this a bug? #2842
-
While I was writing a shader code, I noticed that the program crashes when it compiles the shader that modifies the uniform vec4 component. I thought about making a bug report but I'm very new to shader programming and wasn't sure if it is a bug. But even if it's not a bug. I think it would be helpful if it's written in documentation somewhere. Here's the minimum code I came up with that crashes when I compile and run.
If someone else is having similar issues, I was able to solve it by making a copy. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
What crash did you see? |
Beta Was this translation helpful? Give feedback.
Yeah this is expected. Uniforms variables cannot be modified. This is not a bug.