-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
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
Interface Block identifiers not renamed #237
Comments
Some examples from https://www.khronos.org/opengl/wiki/Interface_Block_(GLSL): uniform MatrixBlock
{
mat4 projection;
mat4 modelview;
} matrices; The instance name ( uniform MatrixBlock
{
mat4 projection;
mat4 modelview;
}; Here, when there's no instance name, If we rename the block name ( |
In this situation //[
uniform u{//]
mat4 projection; // minifier now sees these as global vars
mat4 modelview;
//[
};//] combined with adding |
uniform MatrixBlock { mat4 projection; mat4 modelview; }; -> rename projection and modelview like global variables #237
#335 solves this for me, I just tested it for |
Given Interface Block GLSL syntax:
block_name
andmember_name
are not renamed.The text was updated successfully, but these errors were encountered: