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
From sawato shusaku:
int f(int k) { { int k = k 3; // 2nd k is parameter, initializing nested first k int m = k // use of new k, which is hiding the parameter } }
it is leagal in GLES2.0 but is not in GLES3.0 and later
int f( /* nested scope begins here */ int k) { int k = k 3; // redeclaration error of the name k ... }
glslang frontend was wrong only GLES2.0 about this scoping problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From sawato shusaku:
it is leagal in GLES2.0 but is not in GLES3.0 and later
glslang frontend was wrong only GLES2.0 about this scoping problem.
The text was updated successfully, but these errors were encountered: