We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following shaders:
const vec4 someConst = vec4(3.0); export void vertex() { gl_Position = vec4(0.0); } export void colorFragment() { gl_FragColor = vec4(0.0); }
Include a constant declaration for someConst in every output shader, even though it's unused:
someConst
{ "shaders": [ { "name": "vertex", "contents": "const vec4 a=vec4(3.);void main(){gl_Position=vec4(0.);}" }, { "name": "colorFragment", "contents": "const vec4 a=vec4(3.);void main(){gl_FragColor=vec4(0.);}" } ], "renaming": {} }
The expected output in this case should be:
{ "shaders": [ { "name": "vertex", "contents": "void main(){gl_Position=vec4(0.);}" }, { "name": "colorFragment", "contents": "void main(){gl_FragColor=vec4(0.);}" } ], "renaming": {} }
The text was updated successfully, but these errors were encountered:
6afae07
No branches or pull requests
The following shaders:
Include a constant declaration for
someConst
in every output shader, even though it's unused:The expected output in this case should be:
The text was updated successfully, but these errors were encountered: